Zend\Db\Resultset fix buffering

optimize some methods