Add support for Beanstalk as a hosting service.

This supports both Git and Subversion repositories on Beanstalk. It
makes use of the new base_commit_id support and hosting service
repository validation.

Unit tests were added for all the new functionality.