add storeSync function to ensure data synced to IDB store

This adds *fs.storeSync*, which ensures data is synced to the IDB store. Note that it doesn't actually do the syncing, it just ensures the syncing is done, since currently we sync everything immediately, so we don't actually need to initiate a sync. Once we start coalescing writes, we'll have to make this actually do a sync.