getNextVersion should also work without auditlog
Let postUpdate and postInsert call same function

Apparently we need a postUpdate and postInsert
using postSave function directly gave some troubles with new records.
Wrap version updates in a transaction with a FOR UPDATE lock
Merge pull request #17 from Recras/versionableRaceCondition

Fix race condition in Versionable behaviour