Add `isolate_method` context manager to utils.py

* Add `next_mro_class` and `import_path` helper functions
Using `pytest` was a worthwhile experiment, but I don't think it really lived up to expectations. Where possible, I would like to maintain consistency across our projects.