Change layout of settings

Made it so that settings behaves differently depending on the
environment based on this
http://tech.yipit.com/2011/11/02/django-settings-what-to-do-about-settin
gs-py/
deleted .db