Adding support for environment variables and hostname when creating a container

Support for hostname and environment variables was missing. I have added it to CreateContainerCmd. Please review and accept the pull request if OK.