add memory and cpu shares support

@ibuildthecloud  @cjellick  added support to cattle for memory and CPUshares . 
Along the same lines that we discussed in python-agent, don't use zip + iteritems() to compare dictionaries