add hooks to patch both the pre/post initialized instance
fix tiny infinite loop bug
move patch hook to loader instantiation time

This hook needs to happen earlier if we want to capture all the work
that loader does during instantiation.
remove yui instance hook as it's not currently useful
expect a single patch instead of an array of patches
Add test for dd-proxy with cloneNode and radio inputs
Remove name attribute radio inputs inside cloned nodes by dd-proxy
[dom] Optimize dom-style.js

* Remove unnecessary anonymous function, unused variables.
* Use "Number()" instead of "new Number()".
[dom] Optimize dom-style-ie.js

* Remove unnecessary anonymous function, unused variables.
* Use "===" instead of "==".
Merge branch 'optimize-dom-style' into dev-master
[dom] Build
use a better name for the hook and pass the config
unit test for loader hook
invoke doBeforeLoader after setting `this.context`
Ignore test in PhantomJS
mention the loader hook in the documentation
Merge branch 'perf-hooks-instantiation' into dev-master

hook to patch loader during YUI instance initialization
Merge remote-tracking branch 'jbalsas/DD-Proxy-reset-radio' into dev-master
[dd] Update HISTORY
[dd] Build