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

@ibuildthecloud - I just copy pasted the files from his repo :)
This function is basically the entire implementation copied into the test. I think that that is not a great idea.
I'd rather just see:
```
assert actual_restart_policy['Name'] = input_restart_policy_1['name']
assert actual_restart_policy['MaximumRetryCount'] = input_restart_policy1['maximumRetryCount']
```
in each post function.