Add `isolate_method` context manager to utils.py

* Add `next_mro_class` and `import_path` helper functions
Are we going to keep `py.test` and do we want to keep `py.test` method testing?