TenjintShell.
reset
Clear all internal namespaces, and attempt to release references to user objects.
If new_session is True, a new history session will be opened.