Bump rct.
Fix versioning of db.
Some more fixes. Create individual write scopes for each indexData. This
is slower but fixes problems with merging.