fixed redirection in both files, fixed setting testDatabase using the DA...

...TABASE variable in the install_xtuple script