Memory test

@ibuildthecloud - I just copy pasted the files from his repo :)
I strongly lean towards option 1.  We've done a similar things with ports and volumes already with the API.  We just take the string syntax of port mappings and volume mapping in our API and then internally parse it if we can.