Cherry-Pick Eric's Work

(rebased by da2ce7)

Converted Chaiscript to C++
Changed OT_ME Chaiscript calls to C++
Define out Chaiscript for mobile devices

Conflicts:
	include/chai5/chaiscript/dispatchkit/function_call.hpp
	include/chai5/chaiscript/dispatchkit/proxy_functions.hpp
	include/chai5/chaiscript/language/chaiscript_engine.hpp
	include/irrxml/CXMLReaderImpl.hpp
	include/irrxml/irrArray.hpp
	include/irrxml/irrString.hpp
	include/otapi/OTAPI.hpp
	include/otapi/OTAPI_Basic.hpp
	include/otapi/OTAPI_Exec.hpp
	include/otapi/OTClient.hpp
	include/otapi/OTServerConnection.hpp
	include/otapi/OT_ME.hpp
	include/otapi/OpenTransactions.hpp
	include/otapi/ot_command_ot.hpp
	include/otapi/ot_made_easy_ot.hpp
	include/otapi/ot_otapi_ot.hpp
	include/otapi/ot_utility_ot.hpp
	include/otlib/OTASCIIArmor.hpp
	include/otlib/OTAccount.hpp
	include/otlib/OTAgreement.hpp
	include/otlib/OTAssert.hpp
	include/otlib/OTAssetContract.hpp
	include/otlib/OTAsymmetricKey.hpp
	include/otlib/OTBasket.hpp
	include/otlib/OTBylaw.hpp
	include/otlib/OTCachedKey.hpp
	include/otlib/OTCheque.hpp
	include/otlib/OTContract.hpp
	include/otlib/OTCredential.hpp
	include/otlib/OTCron.hpp
	include/otlib/OTCronItem.hpp
	include/otlib/OTCrypto.hpp
	include/otlib/OTData.hpp
	include/otlib/OTDataCheck.hpp
	include/otlib/OTDigitalCash.hpp
	include/otlib/OTEnvelope.hpp
	include/otlib/OTIdentifier.hpp
	include/otlib/OTInstrument.hpp
	include/otlib/OTItem.hpp
	include/otlib/OTKeyring.hpp
	include/otlib/OTLedger.hpp
	include/otlib/OTLib.hpp
	include/otlib/OTLog.hpp
	include/otlib/OTMarket.hpp
	include/otlib/OTMessage.hpp
	include/otlib/OTMessageBuffer.hpp
	include/otlib/OTMint.hpp
	include/otlib/OTOffer.hpp
	include/otlib/OTPassword.hpp
	include/otlib/OTPaths.hpp
	include/otlib/OTPayload.hpp
	include/otlib/OTPayment.hpp
	include/otlib/OTPaymentPlan.hpp
	include/otlib/OTPseudonym.hpp
	include/otlib/OTPurse.hpp
	include/otlib/OTScript.hpp
	include/otlib/OTScriptable.hpp
	include/otlib/OTServerContract.hpp
	include/otlib/OTSettings.hpp
	include/otlib/OTSignature.hpp
	include/otlib/OTSignedFile.hpp
	include/otlib/OTSmartContract.hpp
	include/otlib/OTStorage.hpp
	include/otlib/OTString.hpp
	include/otlib/OTStringXML.hpp
	include/otlib/OTSymmetricKey.hpp
	include/otlib/OTToken.hpp
	include/otlib/OTTrackable.hpp
	include/otlib/OTTrade.hpp
	include/otlib/OTTransaction.hpp
	include/otlib/OTTransactionType.hpp
	include/otlib/OTWallet.hpp
	include/otlib/OTglobal.h
	include/otlib/Timer.hpp
	include/otlib/anyoption.hpp
	include/otlib/stdafx.h
	include/otlib/stdafx.hpp
	include/otlib/win32_utf8conv.hpp
	include/otlib/win32_utf8conv_inl.hpp
	include/ots/OTClientConnection.hpp
	include/ots/OTServer.hpp
	include/ots/main.hpp
	project/otapi/otapi.vcxproj
	project/otapi/otapi.vcxproj.filters
	project/otlib/otlib.vcxproj
	project/otlib/otlib.vcxproj.filters
	scripts/ot/ot_commands.ot
	src/otapi/OTAPI.cpp
	src/otapi/OTAPI_Basic.cpp
	src/otapi/OTAPI_Exec.cpp
	src/otapi/OTClient.cpp
	src/otapi/OT_ME.cpp
	src/otapi/OT_ME_NEW.cpp
	src/otlib/OTAccount.cpp
	src/otlib/OTAsymmetricKey.cpp
	src/otlib/OTCachedKey.cpp
	src/otlib/OTCronItem.cpp
	src/otlib/OTKeyring.cpp
	src/otlib/OTPurse.cpp
	src/otlib/OTScript.cpp
	src/otlib/OTScriptable.cpp
	src/otlib/OTSmartContract.cpp
	src/otlib/OTWallet.cpp
	src/ots/OTServer.cpp
	src/ots/xmlrpcxx_server.cpp
Merged Eric's Work

(rebased by da2ce7)
Fixed problems with Chai merge

Conflicts:
	include/irrxml/CXMLReaderImpl.hpp
	include/irrxml/irrArray.hpp
	include/irrxml/irrString.hpp
	include/otapi/OpenTransactions.hpp
	include/otapi/ot_command_ot.hpp
	include/otapi/ot_made_easy_ot.hpp
	include/otapi/ot_otapi_ot.hpp
	include/otapi/ot_utility_ot.hpp
	project/otapi/otapi.vcxproj
	project/otapi/otapi.vcxproj.filters
	project/otlib/otlib.vcxproj
	src/otapi/OTAPI.cpp
	src/otapi/OT_ME.cpp
	src/otapi/OT_ME_NEW.cpp
	src/otapi/ot_utility_ot.cpp
	src/otd/main.cpp
	src/otlib/OTAsymmetricKey.cpp
	src/otlib/OTScriptable.cpp
	src/otlib/OTSmartContract.cpp
	src/otlib/otext/mkcert.cpp
Fixed Chai script inclusion when using converted C++ code

(picked by da2ce7)

Conflicts:
	include/otapi/OT_ME.hpp
Forgot to set the switch to use the new C++ functions by default
Undid some 64/32 bit changes for now

(picked by da2ce7)

Conflicts:
	include/otapi/OpenTransactions.hpp
Some fixes to be able to retrieve global ex-Chai variables correctly
Added It() back to OTAPI_Wrap
Fixed showmarkets bug in .ot and .cpp
Fixed problematic conditional compilation for iPhone

(picked by da2ce7)
Updated bash file ot_test for usage on multiple platforms and fixed memo quotes bug
Non-wordexp args parser now allows for quoted strings
Added missing include <algorithm> for linux

Conflicts:
	src/otlib/OTString.cpp
Bash on Mac did not like Windows \r\n
Re-added red/green indication to ot_test