Add PythonInterpreter class

PythonInterpreter is a RAII class to manage the PythonInterpreter.