Add simplistic pagination support to BaseCollection.

Collection does not update its values when change events occur, so that
pagination information are wrong after add/delete calls on the
collection.