add memory and cpu shares support

@ibuildthecloud  @cjellick  added support to cattle for memory and CPUshares . 
No newline? Will fail flake8