Added safe upgrade option to autopatcher.php which will backup database before applying DB patches. Not tested on Windows or pgsql

Functionality same as prior script. Use php autopatcher.php safe for upgrade w/ db backup stored in root folder outside of www directory