clean up allowed_gem_host test

  - use a Gem::Requirement
  - change to Rubygems 2.0, when metadata support was added
  - depend on Rubygems 2.0 or greater
  - add test metadata support for Rubygems 2.0-2.2
depend on rake 10.x, semantically

makes rubygems happy