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.
Cosmetic whitespace change
Change note updates for last two pull requests
.gitignore additions/fixes
Merge in upstream changes