Read gearman host/port from environment if not specified

This is more consistent with our other tools and makes it easier to run
gearcmd as the CMD argument in a dockerfile (because CMD doesn't run
through the shell and thus can't replace environment variables)
I thought about it, but decided that the rule of 3 applied, and that it didn't really matter much.