Add a script that can check Magento config

Script can verify and show configuration settings, without a working
Magento being a requirement.

First raw version, should migrate to PDO_MySQL in next iteration.