Core pr 5

Lots of minor fixes to make the installation run better.
Yes its the header set in nginx and the Apache configuration. The PR should have configuration example files in it and description in the read me.

The form code is copied from the contrib module, if I remember correctly.