EZP-22786: tests: use sort clause when number of results is greater than limit
EZP-22786: assert total count
Merge pull request #830 from ezsystems/fix-EZP-22786-sort-search-result

Fix EZP-22786: Legacy SearchHandlerTest::testStatusFilter fails on php 5.5.11
[SPI] Add TransationHandler for better decoupling

Will allow the service layer to not have to pass in full persistence
handler into every service, and hence be decoupled further from repository.
Implement TransactionHandler in Cache and Legacy
[UnitTests] Remove check for "ezcBase" in Legacy storage engine Test
[UnitTests] Add unit tests for TransactionHandler in Cache & Legacy