cleanup

- simplified management of the ALLOWED_HOSTS settings
- updated requirements.txt
- tested w/ the python-2.7 cartridge
- minor cleanups