Bug fix: remove remainder of test code
Revert "Work in progress"

This reverts commit ef35aa795420714ff5138e8068544eb18a161de4
because it contained too much wrong things that I won't be
using. I'll re-commit stuff from it after that that I do
want to keep.
Fix initialization list order.

Also fixes a Dout line and initializes mState to 0 so
that if ever set_state would be called first from
a non-main thread then it will be larger (probably
not needed currently).
Removed two unnecessary states from AICurlEasyRequestStateMachine

Removed AICurlEasyRequestStateMachine_added and
AICurlEasyRequestStateMachine_finished because the state machine is not
taking any action there anyway, and those states might be skipped all
together even, so they make no sense / shouldn't exist.
Assertion bug fix for libcwd with dc::curl on and curlio off.
Renamed AICurlThread::mWakeUpMutex --> AICurlThread::mWakeUpFlagMutex
Make AICurlThread::wakeup_thread thread-safe.
Add support for xdg-open.
Bail out instead of crash when parseTEMessage fails.
Rewrite of AIStateMachine, version 2.
Merge branch 'master' into curlthreading4

Conflicts:
	indra/aistatemachine/aistatemachine.cpp
	indra/aistatemachine/aistatemachine.h
	indra/llmessage/aicurleasyrequeststatemachine.cpp