Fixed problematic conditional compilation for iPhone
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
Bash on Mac did not like Windows \r\n
Re-added red/green indication to ot_test
Merge remote-tracking branch 'erichop/master' into eric

Adding Eric's latest API fixes.