Some changes for correctly returning the PyEntity handler from C++
when get_entity() is invoked from Python.

Printing entity id doesn't seem to be working from inside Python, so
disabled it for now.