Adds minitest as a development dependency

`require 'minitest/autorun'` does not seem to work in Ruby 2.2.0-dev,
which causes Travis builds to fail on that version. We conditionally
require minitest to rectify this problem, at least temporarily.