adding unloadAll method for store

also includes test for said method and a test for unloadRecord
unload data in store directly
Merge pull request #1265 from iterion/unload-all

Adding unloadAll method for store