CMake: build anyoption as library

This way it is not compiled with the very strict compiler flags
used to compile opentxs code.
opentxs: fix -Wold-style-cast
Merge pull request #267 from toxeus/fixOldCasts

opentxs: fix -Wold-style-cast
OTAccount: move shared functions into Helpers.hpp
CMake: Packaging: Add number of commits since last tag in version string (file name)
Merge pull request #269 from lclc/packageName

CMake: Packaging: Add number of commits since last tag in version string...
Merge pull request #270 from toxeus/createHelper

OTAccount: move shared functions into Helpers.hpp
opentxs-crypto: fix -Wredundant-decls
Fix command showaccounts

OTAPI_Wrap::GetAccountWallet_Name is used to get account wallet name. The name could be empty so name emptiness should not be used for testing account existence.

Closes #256
Merge pull request #271 from toxeus/fixRedundantDecls

opentxs-crypto: fix -Wredundant-decls
Merge pull request #275 from mhamrle/issue_256_showaccounts

Fix command showaccounts
OTString: move fwrite_string() into caller

It doesn't make sense to have a separate function which is
used only in one place.
Merge pull request #278 from toxeus/removeFwriteString

OTString: move fwrite_string() into caller
ZMQ: Send/Receive code cleanup.
Merge pull request #279 from benma/zmq

ZMQ: Send/Receive code cleanup.
Remove useless includes
Remove unused param from UserCmdGetContract
Merge pull request #277 from mhamrle/small_improvements

Small improvements
MintLucre: remove commented out code
MintLucre: cleanup #ifdef statements