added support for cpu and memory limits

Change-Id: Id93e73cbc1a92ad897ee5115c0d1ab882ee77997
remove monitor_cpu_* and monitor_memory_* in favour of a generic hash

Change-Id: Ica717d6eccbad2f96f6f2cfc7198f2d388bacf47
Merge pull request #6 from mburger/master

added support for cpu and memory limits