HTTP error codes
Clean up requests and handling of json data in get requests.
Fix client side tests accordingly.
Fix server side tests to match the way the client passes json in get requests.

Conflicts:
	tests/test_views.py
Frontend uses HTTP error codes
Closes #145, closes #150
db.collection.drop frontend
db.collection.drop backend
db.collection.drop tests