Fix comment typos
Don't use // comments in C code.
JavaScript: Added missing static modifiers to avoid duplicate symbol problems with multiple SWIG modules.
JavaScriptCore: Bug fix for finalizer. The finalizer needs to be set on the objectDefinition, not the classDefinition. Otherwise, all the finalize callbacks get NULL back for the PrivateData and can't free the SwigPrivData, causing massive leakage.
JavascriptCore: fix cleanup code.
JavaScriptCore: Bug fix for SWIGJSC_AppendOutput. This function requires a return value. I think it should be arr, but somebody should scrutinize this.
JavaScriptCore: C89: declare variables at the top for antiquated compilers like Microsoft Visual Studio.
JavaScriptCore: More missing static modifiers.
JavaScriptCore: ConvertPtr should allow JavaScript null to be a valid value.

It is common in C to accept NULL to functions for pointer parameters.
extern void DoSomething(struct Foo* foo);
...
DoSomething(NULL);

Thus, JavaScript null should be allowed:
module.DoSomething(null);

But the current ConvertPtr definition accepts only objects. This modifies it to allow null.
Javascript: fix warnings in li_std_string test.

Old typemaps for std::string were in place instead of delegating to UTL.
Javascript: preparations for using Language::getNSpace().
Javascript: support null pointers.

We allow to set pointer types using JS null.
Fix li_boost_intrusive_ptr for various versions of boost

Modify testcase to fix compile errors on various versions of boost.
Tested using various combinations from boost-1.33/gcc-3.4.2 to
boost-1.53/gcc-4.7.3. Originally noticed as broken on
boost-1.36/gcc-4.3.4 on SLE 11.

Add in some diagnostics when reference count is wrong... which does
still happen occasionally.
Javascript: generalise test-case 'typemap_variables' so that it can be used for Javascript V8.

The original version contains output typemaps that produced incompatible code.
Introduce a pre-processor macro that is set to a valid value for v8.
Merge branch 'master' of https://github.com/swig/swig
Merge branch 'master' into lua

Resolved conflicts in luarun.swg: Backed out my lua _eq implementation. Adapted modification for including the cptr address in the _tostring for user data.

# By Oliver Buchtala (287) and others
# Via Oliver Buchtala (14) and others
* master: (451 commits)
  Javascript: generalise test-case 'typemap_variables' so that it can be used for Javascript V8.
  Fix li_boost_intrusive_ptr for various versions of boost
  Javascript: support null pointers.
  Javascript: preparations for using Language::getNSpace().
  Javascript: fix warnings in li_std_string test.
  JavaScriptCore: ConvertPtr should allow JavaScript null to be a valid value.
  JavaScriptCore: More missing static modifiers.
  JavaScriptCore: C89: declare variables at the top for antiquated compilers like Microsoft Visual Studio.
  JavaScriptCore: Bug fix for SWIGJSC_AppendOutput. This function requires a return value. I think it should be arr, but somebody should scrutinize this.
  JavascriptCore: fix cleanup code.
  JavaScriptCore: Bug fix for finalizer. The finalizer needs to be set on the objectDefinition, not the classDefinition. Otherwise, all the finalize callbacks get NULL back for the PrivateData and can't free the SwigPrivData, causing massive leakage.
  JavaScript: Added missing static modifiers to avoid duplicate symbol problems with multiple SWIG modules.
  Don't use // comments in C code.
  Fix comment typos
  Attempt to fix li_boost_intrusive_ptr C# compile error
  Remove PHP director_basic runtime test until fixed.
  Javascript examples tidy up
  Detect Javascript v8 on 64 bit Linux
  Travis testing: check configure still runs after make maintainer-clean
  Fix in source android examples clean
  ...

Conflicts:
	Lib/lua/luarun.swg
Merge branch 'lua' into Lua53IntegerAndVandalEq

# By Eric Wing (6) and others
# Via Oliver Buchtala (2) and Eric Wing (1)
* lua:
  Javascript: generalise test-case 'typemap_variables' so that it can be used for Javascript V8.
  Fix li_boost_intrusive_ptr for various versions of boost
  Javascript: support null pointers.
  Javascript: preparations for using Language::getNSpace().
  Javascript: fix warnings in li_std_string test.
  JavaScriptCore: ConvertPtr should allow JavaScript null to be a valid value.
  JavaScriptCore: More missing static modifiers.
  JavaScriptCore: C89: declare variables at the top for antiquated compilers like Microsoft Visual Studio.
  JavaScriptCore: Bug fix for SWIGJSC_AppendOutput. This function requires a return value. I think it should be arr, but somebody should scrutinize this.
  JavascriptCore: fix cleanup code.
  JavaScriptCore: Bug fix for finalizer. The finalizer needs to be set on the objectDefinition, not the classDefinition. Otherwise, all the finalize callbacks get NULL back for the PrivateData and can't free the SwigPrivData, causing massive leakage.
  JavaScript: Added missing static modifiers to avoid duplicate symbol problems with multiple SWIG modules.
  Don't use // comments in C code.
  Fix comment typos

Conflicts:
	Lib/lua/luarun.swg