Remove Flask-Testing dependency

In the unit tests, creates the self.app and self.client variables that were
being automatically created by Flask-Testing's TestCase.

Removes unnecessary (and inconsistently used) special status code asserts,
replaces them with standard lookups on the response.
Merge pull request #319 from freedomofpress/remove-flask-testing

Remove Flask-Testing dependency