Upgrade Bookshelf&knex
Add return=count support for /api/tickets