fix the ExceptionWrapper patch

Closes #215
test against Rails 3.2.1
Data Mapper: fix stack overflow
Data Mapper: fix to_a and association bug

Closes #197, #218, #216, #204
provide SQL order in tests
v3.0.3
Basic paginate support for Mongoid criterias.
Move the Mongoid database setup to the main mongoid_spec file.
Use MongoidModel instead of Car to avoid colliding with sequel specs.
Clean up mongoid specs by letting criteria be MongoidModel.criteria.
Support the page method with Mongoid.
Cache Mongoid Criteria#total_entries.
Move Mongoid pagination #total_count specs to its own describe block.
Cast Mongoid pagination #current_page to WillPaginate::PageNumber.
Allow chaining paginate and page methods without unexpected results.
Support setting per_page through a #per_page criteria method and have that use limit for its state.
We don't need to state that we're expecting PageNumber when comparing numbers.
Fix broken spec on latest version of Mongoid.

In new versions of Mongoid setting a limit to nil actually sets the limit to 0, which behaves the same as nil. So if the limit is 0 in #per_page we make sure to return nil.
Rollback to dbackeus/master

Merge remote-tracking branch 'origin/master' with strategy 'ours'
always call `html_safe` on will_paginate result

This ensures that the HTML output of `will_paginate` view helper is not
only marked safe in Rails, but in Padrino as well.