add record.Revision and make raven versioning work