Revert "Move test request functions into appropriate TestCase class"
Breaks integration tests

This reverts commit 3b0e788fe7d970f35c7fae837fd8a9f01f8733a1.

Conflicts:
	tests/test_views.py
Update tests to use http error codes
Remove extraneous try/catch, require_result
Merge pull request #153 from rcchan/master

Update tests to use http error codes
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.