Major client refactoring.

Functionality is moved into an API and used in cbfsclient (and
cbfsadmin).

As a side-effect, rm got ridiculously faster since it no longer recurses
and tests for flies vs. directories (though upload lacks quite the same
cleanliness).