Support resources in docker.run(). Display resources allocation in usage()

I am going to put another patch(adding '-c -m' flag in 'docker run') in this commit too.