API parity for docker and Rancher
- Added support for restart policy and its test
- Added support for  devices and its test
- Added support for cpu shares and its test