Add and use settings.php template.

The code was taken from https://github.com/mdxp/drupal-cookbook/pull/13.
I modified the code a little bit because a trailing comma raises a syntax error.

Furthermore I removed the did setting from Vagrantfile. It caused errors and broke the install script.