Use metadata['allowed_push_host'] to restrict gem pushing to that host only . Defaults to nil, meaning any host is allowed. Includes tests.

Note that I had to change 2 tests in test_gem_commands_push_command.rb, namely test_execute and test_execute_host; they exploited the fact that gem push previously did not always attempt to load a gem's specification (it only loaded the gemspec if no host was specified). I used existing test helpers to fix those 2 tests.

I figure @rykov of @gemfury will appreciate this. Thanks to @drbrain for implementation suggestions.
Merge pull request #603 from seamusabshere/allowed_hosts

Use metadata['allowed_push_host'] to restrict gem push to that host