allow use temporary ResultSetPrototype
PR #5321
Merge branch 'hotfix/db-adapter-setQueryResultSetPrototype' of git://github.com/turrsis/zf2 into turrsis-hotfix/db-adapter-setQueryResultSetPrototype

* 'hotfix/db-adapter-setQueryResultSetPrototype' of git://github.com/turrsis/zf2:
  allow use temporary ResultSetPrototype
Merging #5321 to develop
Merge branch 'turrsis-hotfix/db-adapter-setQueryResultSetPrototype' into develop

* turrsis-hotfix/db-adapter-setQueryResultSetPrototype:
  allow use temporary ResultSetPrototype