Script Upgrade

Checking upgraded to PHP PDO class.
Check if MYSQL server is accessable or not, if not then tell user that
unable to connect to database.
Script Upgrade

Upgrade to PHP PDO
Merge pull request #20 from eanurag/deployment

Deployment