add cpu_shares, restart_policy and devices support for cattle