create_container now accepts dict objects for the environment parameter. Fixes #20