Changed xdScriptEngine and PluginLoadFunc

+ The engine now passes a xdEngine to the plugins
+ Fixed circular reference bug in spAnimationState
- xdScriptEngine is not used for registering script functionality
anymore, use asIScriptEngine instead