Maxmem

implement max_memory handling as proposed in #14 
`actual_vm = cls.info(id)` also works and is prettier