Database: renamed test
Database\ResultSet: added cursor auto closing [closes #1130]
Merge pull request #1132 from hrach/database-fetch

Database fetch