Adds unit tests verifying the reset of an SC.Store.
Fixes bug that doesn't clear nested records from a store reset (fixes failing unit test in previous commit).