Made newRev.parentRevID work in a validation block

Also, newRev.revisionID will consistently be nil for a newly-added revision,
instead of incorrectly being the parent’s revision ID. (It would be best if it were
the actual new revision ID, but that hasn’t yet been computed by the time the
validation block is called.)
For #233