Added pagination in Resque dashboard

I've tried to fix couple of method signature errors, causing Internal Server Error in "failed queries" page, and added pagination to the failed jobs list.