Re-wrote the modality stuff

It's slightly less brain-damaged now.  The query of the
modality type now happens in dicomutils.py, not dicom2stl.py.
There's now a function getModality(image).