Fix include for pagem.rb.
Update for rails 3.1.
Drop rails 2 app, used by test suite.
Add 3.1 app for test suite.
Update #paged_scope spec for 3.1 changes.
Drop some unused requires.