Update to latest docker-py, make ports and commands optional

And added privileged moded and lxc_config and fixed some other bugs.