Paginate events/transactions page

With pretty ajax and everything.

Closes #120.