Merge pull request #42 from PredatH0r/master

extraQL support, expose `HOOK_MANAGER.addMenuItem(caption, handler)`, script load order, string IDs, etc.
Make 'scriptMenuItems' a plain object.
'console.log' --> 'log'
Adding back 'main_hook' message, as it is useful for troubleshooting.
minor formatting tweaks
- fixed: workaround for $.getScript().fail(...) never being called, when there is no server process listening on the target URL