Fix history pagination with paper_trail, specs
Merge pull request #2054 from vlobanov/papertrail_pagination

Fix history pagination with paper_trail, specs
Fix Mongoid builds
Unlock paperclip dependency