Merge pull request #17 from juzna/inp1

2 improvements
ResultSet::toArray convenient method (dodgy)