Use python built-ins to get the hostname
Use localhost as default Database hostname
Remove HOSTNAME (requires removal of anything related to Email)
Remove unused imports
Merge pull request #56 from manics/dbname_localhost

Database hostname