Rename api to client.
Merge pull request #97 from murrekatt/develop

Rename api to client.
OTMarket: replace OTCleanup with std::unique_ptr