Add another menu insert point in the admin menu.
Merge branch 'master' of github.com:singularity-viewer/SingularityViewer
Added OverrideAnimations string, so that notifications present an actual permission QUESTION when asking for the perm.

Conflicts:

	indra/newview/llviewermessage.cpp
Wrap std::filebuf to work with unicode filepaths on Windows. (Use UTF-16)
Merge remote-tracking branch 'shyotl/master'
Demote assert and allow UDP fallback in case COF fetching times out
Revert "TEMPORARILY disable erroring out during mesh upload"

This reverts commit 3bdeb8e8a80eafcb01c6bff8b763f09a1ca5122f.
Fix for AIStateMachineThread (LLThreadSafeRefCount: deleting non-zero reference)

This fixes
https://code.google.com/p/singularity-viewer/issues/detail?id=736

The problem was that we need to keep the 'user' derived THREAD_IMPL
alive in the thread, and therefore used an LLPointer<THREAD_IMPL>
(as base class of AIStateMachineThread<THREAD_IMPL>), and therefore
THREAD_IMPL, derived from AIThreadImpl had to be derived from
LLThreadSafeRefCount. However, AIStateMachineThread<THREAD_IMPL> also
needed to be a statemachine of itself and is derived from
AIStateMachineThreadBase derived from AIStateMachine which is ALSO
derived from LLThreadSafeRefCount - that in this case wasn't really
needed. An attempt to deactive it by calling ref() from the constructor
of AIStateMachineThreadBase failed on the fact that LLThreadSafeRefCount
insists that its ref count mRef is exactly zero when it is being
deleted.

The chosen solution is to remove the ref count from AIThreadImpl and use
the LLThreadSafeRefCount base class of AIStateMachineThreadBase. The
result is that not only THREAD_IMPL, but also the state machine object
is kept alive, but that doesn't seem like a problem.

Thus, instead of passing a AIThreadImpl* to
AIStateMachineThreadBase::Thread, we now pass a
AIStateMachineThreadBase* to it to keep the whole of the
AIStateMachineThread<THREAD_IMPL> object alive, which has a THREAD_IMPL
as member now. This member then can be accessed through a virtual
function impl(). Another result of this change is that the 'user' (the
class derived from AIThreadImpl, THREAD_IMPL) now has to deal with the
LLPointer, and use LLPointer<AIStateMachineThread<THREAD_IMPL> >
instead of just AIStateMachineThread<THREAD_IMPL> and also allocate
this object himself. The access from there then changes into a -> to
access the state machine (as opposed to a .) and ->thread_impl() to
access the THREAD_IMPL object (as opposed to a ->).
Compile warning fix.
Compile warning fix.
Re-apply saphira's Linux build patch that somehow got lost in merges
Lessen occurrence of missing prims. Also added 'ctrl-shift-v' to rebuild vbos.
Merge branch 'master' of git@github.com:singularity-viewer/SingularityViewer.git
Improved the logic in LLPipeline::updateDrawableGeom a bit.
Merge remote-tracking branch 'shyotl/master'