Fix $HOST env variable for command health checks

- Removed unused Command.toProtoWithEnvironment
- Added env variable checks in TaskBuilderTest
- Added offer.hostname to the env in taskInfo.commandInfo.
- Added command health check example JSON.
- Fixes #662.