Foundation.h : adds CXMLDocument.h in foundation headers.
Bindings : Assert if bindings are created or contexts are opened outside of the main thread.

We just discovered that creating bindings and opening bindings context is not thread safe. We'll assert in this case to be aware of this and ensure we do not get random crashes.