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
Revert "Javascript: support null pointers."

This reverts commit 11963788e0d008e1c6e997577086cd8dd584c03f.
Revert "JavaScriptCore: ConvertPtr should allow JavaScript null to be a valid value."

This reverts commit 05ed0325dc4bd9ddc126d3dacc6b38686f7382cf.
Javascript: Use RUNTOOL for running tests.
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: support null pointers.

We allow to set pointer types using JS null.
JavascriptCore: Bugfix for null-pointer support.

This solution must be considered as a preliminary workaround.