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
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
Fix expansion of the $parentclassname special variable

It incorrectly contains brackets in the expanded name.
Fixes SF Bug 1375.
Fixed JSClassRef declaration not using the static one

The class descriptor is not assigned to the static variable but to a local one, which makes the global variable unused.