Clean up util/intensity_explorer.py
Clean up util/intensity_explorer.py

* Remove dead code
* Fix undefined variables warnings
* Clean up imports

dials/dials,dials/dials,dials/dials,dials/dials,dials/dials