refs #788 - Implemented preloader for rest-sample
refs #788 - Added preloaders to the rest-new. Made refactor for preloaders executing code.
refs #788 - Implemented preloader for rpc-rest-sample project.
refs #788 - Implemented preloader for rpc-new project.
Merge branch 'master' of https://github.com/openlegacy/openlegacy

Conflicts:
	openlegacy/openlegacy-templates/openlegacy-rest-new/src/main/webapp/app/js/app/controllers.js