Added predefined pagination counts to app.js

Added them to the controllers and fixed all of the karma unit tests for those controllers