BUG - custom maintenance page #1338

You need to add die(); code to the custom maintenance page in the first index.php.
Because if they have one, process is still running . So we have displayed the custom.php and home.php.

I moved too header code to apply it on each case.
Merge pull request #1341 from groomain/patch-2

BUG - custom maintenance page #1338