sync store before closing tlog
Merge #450 branch 'incubaid-sync-store' into incubaid-1.6

Conflicts:
	src/node/local_store.ml
	src/node/mem_store.ml