Cleaned up Settings

A lot of recent issues have come from config-settings.php, I've done a
bit of work and tried to abstract some of the pain away.
Renamed variables in line with last commit
#56 - Dashboard accessible before installation.
Merge pull request #55 from JimmyThompson/master

Cleaning up submit-settings.php, Fixed #56