fixed circular reference memory leak in bind

The memory leak was caused by a circular reference in boost.python objects. While python tracks circular references, boost.python does not.