BUG Fix versioned
Versioned is not writing Version to _version tables for subclasses of Version dataobjects which have their own DB fields
- Fix disjoint of ID / RecordID (which should be the same)
- Fix calculation of new record version
- Fix use of empty vs !isset to check for existing version
Refactor / Cleanup Versioned
Merge pull request #3462 from tractorcow/pulls/3.2/fix-versioned

BUG Fix versioned failing to generate new versions