Merge pull request #489 from toxeus/apiMerge

OT_ME: merge called function into make_sure_enough_trans_nums()
Fix bug introduced in 76c1ee86
Merge pull request #492 from mhamrle/fix_market

Fix market
Removed RemakeSocket.
Removed OTASCIIArmor from OTSocket.
Simplified sending to do without retries and all that.
Merge pull request #490 from toxeus/socket_cleanup

Socket cleanup
Renames masterCredentialID to masterID.

This in order to make it consistent in the two places the credential is
written (and read). In one place 'masterCredentialID' was used, in an
other 'masterID'.

I've opted for 'masterID' since at yet an other place 'ID' was used
signify the credential it was an attribute for (in stead of using
'credentialID'). Renaming it like so contains the change to the least
amount of places.
Simplified receiving to do without retries and all that.
Modified to have a connect in preparation to move logic from socket into connection.
Merge pull request #491 from Open-Transactions/renames_masterCredentialID_to_masterID

Renames masterCredentialID to masterID.
Merge pull request #493 from toxeus/socket_cleanup

Socket cleanup
Removed OTSocket and moved logic into OTServerConnection.
Renamed ProcessMessageOut to send.
Smart pointer holding the server connection.
Removed GetWallet on OTServerConnection.
Minor correction of header.
Removed unnecessary includes.
Merge pull request #494 from toxeus/socket_cleanup

Socket cleanup
OT_ME: merge called function into create_nym()