[wip] hooks to patch pre/post initialized YUI instance

adding a hook inside the loader constructor which allows the monkey-patching of loader and the yui instance