Added toArray method.

toArray will return an hash of all table columns for a record object.