EZP-21278: check only content/read if current version was requested
EZP-21278: added unit tests for loadVersionInfoById()
EZP-21278: simplify getting current version number
Merge pull request #511 from ezsystems/fix-EZP-21278-rest-current-version

Fix EZP-21278: [Rest API] Get current version with anonymous user spec don't correspond to behaviour