Ensure query and update are set
Check that no matching document exists
Move test request functions into appropriate TestCase class
HTTP error codes
Merge branch 'master' of git://github.com/FuegoFro/mongo-web-shell into http-errors

Conflicts:
	mongows/mws/views.py
	tests/test_views.py
Merge pull request #149 from rcchan/db.collection.update

Db.collection.update
Merge pull request #151 from rcchan/test-reorg

Move test request functions into appropriate TestCase class
Frontend uses HTTP error codes
Closes #145, closes #150
Merge pull request #152 from rcchan/http-errors

HTTP error codes
Closes #145, closes #150
Create pre-commit hook script to run tests and catch lint errors.
Fix JS and python lint errors, still have lines that are too long (failing tests fixed in different commit).
Fix front end tests to use new error format.
Add front end tests for remove and update. Update needs to be finished.