Added tool to generate Mac OSX bundles of wxphp.
Fixed mac osx segfault caused by incrementing the refcount on objects returned by static methods.