#424 replaced index.route to backward-support ajax based calls for non REST.
#424 aligned REST API endpoints with both WS and Ajax.
Merge branch 'develop' into feature/#424

Conflicts:
	lib/dispatch/permissions.js
	test/unit/6_beacon/beacon-route.spec.js