#502 early work on usage reporting.
Merge branch 'develop' into feature/#502

Conflicts:
	config/default.yml
#502 additional endpoints for usage reporting.
#502 added base test
- changed beacon write stats to use target workspace
#502 additional tests
#502 added query filter by token
#502 removed usage endpoint due to query ability
Merge pull request #525 from joola/feature/#502

#502 Usage reporting