Altered the way the envs/docroots etc are loaded to be better DI. Also split up the $config var to better delineate between env and server
Hostname and port will now be used when mysqldumping.
use /usr/bin/env instead of /usr/bin/php