Do not test mongoid 4.0 with Ruby 1.8.7
Mongoid 4.0 with rubinius is still unstable so just allow it to fail

Also, AR edge with jruby has been stable for a while, so do not allow it
to fail.
Add documenttion for link_to_previous_page [ci skip]
Make helper methods for sinatra slightly better