Abstracts console logging

No more direct call to console.log is done.
It is now possible to override the log destination, by calling osg.setConsole.