Proposed fix for #773

Split up check_setup.php into two files. The new file check_essentials.php takes care of stuff like the PHP version and is executed before the config files are included which are needed by check_setup. This patch addresses issue #773
If we choose mysql or postgres on install screen, no worry with this line?