Docker API Parity - Support for Cpu Shares,Devices and Restart Policy

@ibuildthecloud - I just copy pasted the files from his repo :)
Discussed with @pranavs18 on slack, but for the record, the API framework doesnt currently support nested types.
I opened this issue for that: Darren will fix.

In the meantime, to unblock and move forward, leave as json type, but change case to match cattle's paradigm (first letter lower case). python-agent does the capitalization/mapping. Then, when the framework is fixed, we'll change the type in cattle from json to restartPolicy.