virsh.edit: New cases for editing memory value and memory unit

Signed-off-by: Yanbing Du <ydu@redhat.com>
Merge pull request #361 from will-Do/edit_mem

virsh.edit: New cases for editing memory value and memory unit