Moved duplicate code into new function OTClient::setRecentHash.
Extend OTClient::setRecentHash to refactor more duplicate code.
Use shared_ptr for OTMessage to fix a memory leak.

A unique_ptr can be used instead as soon as some implementation details
of OTCLient/MessageBuffer are fixed.
Use const arguments for processServer*.
Merge pull request #328 from benma/processserverreply

OTClient: more refactorings
simplify code
Merge pull request #314 from mhamrle/simplify_code2

simplify code 2
mkcert fixup
Merge pull request #331 from da2ce7/mkcert_fixup

mkcert fixup
cmake fix for windows
Merge pull request #332 from da2ce7/cmake_fix

cmake fix for windows
scripts: remove obsolete opentxs script
Merge pull request #333 from toxeus/removeOldOpentxs

scripts: remove obsolete opentxs script
add checks to printf-like methods
fix printf-like formats
Merge pull request #313 from mhamrle/print_args

Print args
fix print format for size_t on MSC
Merge pull request #335 from mhamrle/print_arg_size_t

fix print format for size_t on MSC
Fixed windows build
Merge pull request #338 from BugFreeSoftware/fix_windows

Fixed windows build