Minor config changes
Added prostgresql support
Added necessary allowed hosts
Added symlink to media directory
Fixed media root dir
Activate cached template loader if not in DEBUG mode