validate memory limits & error out if less than 512 KB
add test: fail to create container if mem limit < 512KB
Merge pull request #892 from unclejack/validate_memory_limits

* Runtime: validate memory limits & error out if it's less than 524288