moved media root stuff in env

Also cleaned up the way the media root was being handled
added configurable port for drivethrough
removed useless pathname require
moved helpers for gluegun features in test
gluegun features now use common bootstrap
gluegun features now use common rabbitmq