Fix to ordering and number of nits per page in nits history.

I have fixed the ordering of entries in nits history view so that the newest ones are in the beginning, which makes more sense. On that occasion I've also changed the way the per page count is retrieved, because the private method overlapped with one defined elsewhere (in app/exercises.rb).