add memory and cpu shares support

@ibuildthecloud  @cjellick  added support to cattle for memory and CPUshares . 
Pull "/dev/null,/dev/xnull,rwm" out to a variable so that you don't have to create the input_devices variable down below.