Docker API parity
- Added support for restart policy
- Added support for cpuShares
- Added support for devices
- Tests for these resource fields