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
Infer type of a hasMany relationship from the relationship's key
Make type-inferring of hasMany relationship work with options