omero.scripts.Type: add getter for name attr. (rebased onto dev_5_0)



This is the same as gh-2467 but rebased onto dev_5_0.

----

Just a simple addition to the Type class.