changes for db_url
trimming / and replacing undefined var
use existing drupal db_url global
update arg naming for clarity
removing DRUPAL_ROOT kludge