refactor & clean code
Merge branch 'master' of https://github.com/capensis/canopsis-webcore

Conflicts:
	var/www/canopsis/core/controller/application.js