Simple qiita pet tests

Adds a bunch of simple tests to make sure that pages render. Some pages and functions are not tested because there is no simple way to test them, but this covers almost all of them. 

Already found one issue using the tests and fixed it.
Can this be placed under a module? It assumes the test is run from the CWD. Also, I don't believe the object verifies it is running against the test database and issues a `drop database qiita cascade` or something along those lines