Allow AIStateMachine::kill to be called while not running.

This can be used for example when a parent statemachine has
a child statemachine and wants to kill() it upon finish.
New libcwd debug channel CAPS.
LLViewerRegion: WIP - header changes and anticipated compile fixes

Does not compile now.
llviewerregion.cpp wasn't touched.
Other changes elsewhere in the code (like in llstartup.cpp) might still be needed.
LLViewerRegion WIP: this should compile now.
LLViewerRegion WIP: Initial copy of llviewerregion.cpp

This is basically the changes in viewer 3 to this file,
except that I left alone:

1) We still have a cloud layer (mCloudLayer)
2) LLViewerRegion::regionFlagsToString still adds comma's
   and a lot more flags.
3) We still have the extra accessor LLViewerRegion::getNetDetailsForLCD()
4) The actual capabilities requested in LLViewerRegionImpl::buildCapabilityNames
   have been left alone and still request the same caps as before.
5) LLViewerRegion::meshUploadEnabled and LLViewerRegion::meshRezEnabled
   have been left alone. They seems to do more work in our case,
   checking if we have the capability SimulatorFeatures, and doing
   something smart when that is not the case.
LLViewerRegion WIP: Added all headers that are dragged in.

Most in particular llevents.h, which comes along with
the demand that the old events in llevent.h are put
in a namespace LLOldEvents. Made all changes necessary
to compile the rest of the code again (without changing
the actual code: it's still using the old events).

This patch also removes LLStopWhenHandled and LLStandardSignal
from indra/llui/llnotifications.h because those are
moved to llevents.h. That seems to be the only change
to indra/llui/llnotifications.h that isn't floater related,
so I left the rest of that file alone.
LLViewerRegion WIP: Use LLViewerRegion::getCapAPI

Viewer 3 uses this in LLAgent::setStartPosition and
copy_inventory_from_notecard; so I brought those
up to speed with V3.

The viewer now uses LLViewerRegion::getCapAPI in all
the same place as V3.
LLViewerRegion WIP: Sync indra/llmessage/llregionflags.h with V3

It seems a few flags disappeared; adjusted the code accordingly.
Should do the same as V3 now.
LLViewerRegion WIP: brought LLTrans up to speed with V3.
LLViewerRegion: now compiles and seems to work.
Merge remote-tracking branch 'siana/master'
Comment out old Google Translate support and as such remove the need for JSON.

Note that on standalone, json headers are installed in json/,
no idea why in the packages this isn't the case... But anyway,
it isn't used at all anymore now so it doesn't really matter.

I didn't remove the json package for non-standalone and the
downloading thereof... (I can't test non-standalone).
Merge remote-tracking branch 'siana/master'
Fixed Windlight presets not loading user created files.
Fix webkit on Ubuntu

WARNING("Plugin"): LLPluginInstance::load: apr_dso_load of
*/viewer-linux-i686-releasesse2/newview/packaged/bin/llplugin/libmedia_plugin_webkit.so
failed with error 20019 , additional info string:
*/viewer-linux-i686-releasesse2/newview/packaged/bin/llplugin/libmedia_plugin_webkit.so:
undefined symbol: XSyncIntsToValue

Apparently our webkit package is underlinked, it doesn't
include libXext which is needed for symbol XSyncIntsToValue.
Both, Fritigern and Inusaito had this problem on Ubuntu.
This patch adds the library to the webkit plugin as a work-
around.
Merge branch 'master' of git://github.com/TighMacFanatic/SingularityViewer
Merge branch 'master' of git://github.com/AlericInglewood/SingularityViewer
Fix scroll buttons on dark skin
Bugfix repackager
Pure linden boost on windows