Fixed compatibility with Alfresco ScriptLogger interface

If I use any ```logger.info``` or ```logger.error``` statements in ```js-console```, I get _function info is not defined_ error, though in standard ```ScriptLogger``` these functions are working. This pull request fixes that.