API: provide __dir__ method (and local context) for tab completion / remove ipython completers code (GH4501)