Choose nokogiri depending on RM version. (See #1020)

This is done to avoid conflict with RM 2.3 which pinned
nokogiri at "<1.6.0" for group :test.
Change criteria for verifying settings page is shown due to new title naming in RM 2.4.