Added Previous next unit tests.
Added the ability to page next and previous for events. A date has a really small chance of being unique where the id is always unique as it's indexed.