Implements a safe workaround to the SC.Store#materializeRecord issue which was causing records to sometimes invisibly be created twice. Includes unit test. Resolves #1160.