implemented the prune method
documenting what it does
refactored to support multiple working repositories
Refactoring existing code that was using two sets of workspaces
added a few more  convenience methods to simplify the test code
added a test case for the prune method