Revert "Changed [] to array in order to get the tests pass on jenkis' PHP version"

This reverts commit 3f159b10ece563cae98dc1e478de6dcbb00fe56e.
Caching for MongoDB PagingSource, changed method of passing data to mongoDb's insert()
Added cache hit counters for mongo paging source