CLLOUDIFY-1546 Did some refactoring and fixed bug that could cause a volume leak.
CLOUDIFY-1552 memory definition now supports definitions of megabyte, gigabyte and terabyte memory types.
CLOUDIFY-1552 added DSL validation test for memory definition