Added simple test.
Tox.ini, from now on, pledge to support py27 and py33.
Officially support Python2.7 and Python3.3.
Use urlparse or urllib.parse depending on python version.
Better detection of postgresql urls.
Added test for app environment.
Fixed iterkeys/iteritems calls in env.py.
Added test for heroku.