Update library/Zend/Paginator/Adapter/DbSelect.php

DbSelect adatper don't reset ORDER BY on count query, this leads to an exception if your DbSelect object uses order function.

This patch should resolve this problem.
Merge branch 'patch-1' of git://github.com/Richard-Rumpel/zf2 into Richard-Rumpel-patch-1
Added test to ensure reset('order') was called in Paginator's DbSelect adapter