we need renderers for:
- html export
At present the CLI handling is hardcoded, this has to be more flexible to allow easy sending from cron. etc. Also Penny could use it in the new portfolio export....
1/ constants RENDERER_TARGET_NORMAL, _CLI, ...
2/ new $target=null parameter in $PAGE->get_renderer()
3/ some refactoring in renderer constructors and factories