Patch of http://sourceforge.net/p/swig/mailman/message/29816385
Fix shared data problem on MacOS 10.9 with xcode 5.1

Move to construct on first use idiom for singleton definition,
which prevents problems with singletons between ruby swig modules
in an environment with multiple modules on MacOS 10.9 with xcode 5.1.

Before this fix, data was being shared between modules which caused
a crash on shutdown of the ruby interpreter if more than one
module was loaded at a time.
Use 4 spaces in emitFunctionShadowHelper for python
Fixed pep8 issues E701, E203, E231, E261
Fixed some pep8 issues E302
Fixed some pep8 issues E701
Fixed another E231
Fixed another E701
Fix function naming conflict with class overloads.

This fix takes into account the classname while generating overload
handlers.

Example:

If you have two classes:

  class A {
    public:
      void doSomething(int);
      void doSomething(double);
  };

  class B {
    public:
      void doSomething(int);
      void doSomething(double);
  };

Before this patch, the overload handlers for A::doSomething and
B::doSomething create conflicting names and function redefinition errors
are caused.

After the patch, the overload handlers are named classname_doSomething
and no longer conflict.

This is might not the best way to implement this, but it
solves a critical problem on large projects, and specifically can affect
operator overloads that are being wrapped.
Bump version to 3.0.3
Fixed remaining pep8 errors
Enable pep8 check
Ubuntu's pep8 is too old, use 1.5.7
Add more new PHP5.6 keywords
Clone pep8 in source dir.
Typo
Check multi-module examples. Dont use sed.
Merge pull request #188 from jschueller/python_pep8

Python PEP-8 conformity
Remove author names - they are in the COPYRIGHT file
Correct documentation of special variable names

$parentname is really $parentclassname
$parentsymname is really $parentclasssymname