[VersionSystem] Fixed SQL query
[VersionSystem] Fixed AbstractVersion constructor
[VersionSystem] Added missing @throws tag
[VersionSystem] Fixed creation of version
[VersionSystem] Fixed phpDoc comment