Gemfile.lock should not be versioned

see http://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
use max_per_page because max_csv_records was removed
fix rails version checking
Merge pull request #1 from freego/master

max_csv_records fix