Refactored a lot about page loading

* added templates/template-loader.js
* will remove amd-page-loader and use templates/template-loader instead
* improved router.js
* added templates/page-manager.js

TODO edit app.js and make it use the new classes