Moves config vars to one separate file

Also removed email test file and added DB import instructions to readme.
@Arendrup if you have a chance could you please take a quick look and see if I missed anything? :)

PS: Had to fix file permissions which explains why the pull request is full of changed files, hope you are able to scroll through it!