Implemented pagination
Factored out 'per' method into Ticket model
Add ticket pagination to the API V2