Added EEmptyResultSetException and raise it when calling Average on an empty ResultSet