Added templates/page-binder

* added jsdoc for some (not all) events
* moved logic out of router to page-binder and page-manager
Added documentation for events