Implemented simple hook register.

- Created build options resulting dynproxy.js file.
- hook register on dynamicproxy factory.