RandDInternalRestApi: versions - more refactoring in JdbcVersionDao and RndVersionDao