Add new helper method that converts ResultSet to array of Record

Because the Records class is often required to return result of the query, a
helper method that converts the information in the ResultSet object into an
array.