added pagination mixin, separated abstract view from controller

added tests, still need tests for list_of_things
fixed link issue, random css, and tests
not sure what discovery-ui2.spec.js is doing?
Merge pull request #82 from aholachek/loading-view

added pagination mixin, separated abstract view from controller