more scons build files
Ignore scons produced *.pyc files.
Add hook for configuring registered prototype.

Added new method setupRegisteredObject() which can be used
to configure the class prototype before it is added to the registry.
No action by default.  This is used in Python wrapper classes so Python
extended classes can be registered without deallocation related crash
on program exit.