Add action validation in server.

* Use routes for validating user actions when interacting with server.
* Also add tests for action validation.
* Add changes file.
* Closes #2356.
Remove unneeded exceptions.
Enforce dependency on simplejson.
Add token credentials to SQLCipher tests.
Merge remote-tracking branch 'drebs/feature/2356-prevent-some-db-actions-in-server' into develop