Avoid nil array access by checking key exists and returning nil if not found.
Merge pull request #9 from TinderBox/memory-store-get

memory_store: avoid nil array access by checking key exists. Returns nil if no key is found.