Correctly parse mysql2:// URLs

Cloud Foundry sets the DATABASE_URL env var with a 'mysql2://' scheme. This change copes with that, and allows easy use of Cloud Foundry e.g. run.pivotal.io.