refs #701 - Made refactor in js files for rest-sample project.
Merge branch 'FB_701_REFACTOR_JS_REST_SAMPLE'

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