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.
In fact, while you're at it, you could remove the shebang and `import __future__` lines from the other `__init__.py` files, too :smiley: