add support for repairCursor command with test coverage
update comments and docstrings for repairCursor
improvements to docstring on Repair() method
Add session.Repair.

Contributed by Mike O'Brien.
Move Repair method out of Pipe implementation.