Database: added tests for reseted resultset iterator
Database: fixed reseted resultset iterator
Database: enhanced iterator reseting
Merge pull request #927 from hrach/db_cache_fetch

Db cache fetch