#28: CM testing - fix project testing, add remote host testing

This addresses part of #28. It fixes the testing of repositories with project hierarchies, and adds remote host testing functionality.

@matthewrmshin, please review.