Add `isolate_method` context manager to utils.py

* Add `next_mro_class` and `import_path` helper functions
I see no reason not to in projects like this.