Implement getServerVersion() in database classes to support link classes without this functionality.
Added support for Zend\Db (Zend Framework 2).