refactor into classes

Sorry for the huge PR. It was hard to break up into separate commits.
* docker-wrapper.py renamed to docker_wrapper.py since "-" isn't valid char for import
* docker-createjson.py renamed to metadata.py as a general module to create, pull, list, edit json files
* new container-template.py that parses args and calls modules
* minimal clean up, mainly just removing unnecessary code