Small refactoring to VersionedGraph API.

- Splitted getting the next graph version and allocating (persisting)
the version in the configuration vertex.
- Changed identifierBehavior property access from Private to Protected
which is required for graph implementations to access this member.

The changes are required to support the (futured)
transactional versioned graph implementation.