Added a test case for SourceForge Bug #1283.

This test case exercise directors used in conjunction with smart pointers.
Fix for SourceForge Bug #1283.

* Change the name of the memory own variable for base java director classes to match that expected by the director code
* Add conditional to appropriately dynamically cast director classes wrapped in smart pointers.
Qualify generated SwigDirector class names with namespaces
Merge branch 'master' into SFbug1299
Change test to reflect new director class naming convention.
Clean up fix for SourceForge Bug #1299.
Merge in upstream changes
Add test case for SourceForge Bug #1299
Remove extra underscore from generated director names to maintain prevent breaking languages that do not support nspace.
Patch for SourceForge Bug #1299 broke D and C#. Update D module to reflect these changes

NOTE: There are several test failures in the D test suite, so it is difficult to be entirely sure this does not break something.
Patch for SourceForge Bug #1299 broke D and C#. Update C# module to reflect these changes.
remove __pycache__ directories when cleaning python test cases
some patterns added to .gitignore
Fix bashism in configure, introduced in 2.0.9.
Merge pull request #9 from ptomulik/gitignore-20130106

some patterns added to .gitignore
Merge pull request #8 from ptomulik/clean-pycache

remove __pycache__ directories when cleaning python test cases
Fix to work with a ZTS build of PHP (broken in 2.0.7)
Fix assorted typos.

From https://sourceforge.net/p/swig/patches/332/ and some others too.
SF Patch#268 - Add 'pre', 'post' and 'terminator' attributes to the csdirectorin typemap

"csdirectorin" "pre:" and "post" code attributes in C# module. Without them it is
not trivial to marshal strings and smart-pointers back and forth
between user callback code and native code. (especially by reference)

Also fixes 2 minor issues in director code generation that are
difficult to come by until "csdirectorin" attribute is extended.
The first is that "ref" types used in directors lead to invalid
signature generation (the type array used to match methods possibly
overloaded by user). typeof(ref T) is used instead of
typeof().MakeByRefType()
The second is that ignored director methods are not completely ignored
- if there was a %typemap(imtype, "directorinattributes") it is not
skipped for ignored method.
Use NSPACE_SEPARATOR rather than liter string for package seperator.