I committed a first version in the branch "
With Jenkins version below 1.519, only simple name is used to get the job type. This now also includes folders, but not templates (not sure if it's worthwhile to support them below 1.519)!
With Jenkins version 1.519 and higher, users can optionally use pronouns. With pronouns, template names are supported.
I hope this a good compromise, because some people (me included) like the shorter "simple names" instead of the pronouns.
@Daniel: I'd appreciate, if you could give it a try and let me know what you think.