One more index.php file
Fixes after final testing in 3.8-beta

* Bug fix for internal domains not being saved as I forgot to add them to the validation whitelisting.... duh... rewrote the whole validation routine to make sure something like this doesn't easily happen again.
* Added pre_init option to make sure our properties are filled before a potential upgrade routine is run
* Moved some methods around to a more logical order