Refactor transactions to use default revision instead of separate field

@dickolsson I'm not sure if the implementation of the ContentEntityStorage::onTransactionCommit() is correct. I don't like to have the db update into a loop. Please take a look. Thanks.