Change repair to a sync_command.

Repair should be synchronous, given that it could fail or succeed.  In
addition, fix the syntax as it's only ever called with one node, and not
a preference list.
Merge pull request #4 from SyncFree/bugfix/csm/logging-repair

Change repair to a sync_command.