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