Added flow control for older versions of ActiveSupport

Older versions of ActiveSupport do not require Minitest v5
Merge branch 'gem-version-guards-for-old-rubies' into ruby-2.1-support

Due to ActiveSupport changing the version of Minitest it requires,
control flow is required for the testing library being required. :(