Add Map of typeName to Jexl, couple of small tidyups

Exposed a map of typeNames through Jexl (as 'typename'), allowing you to easily form expressions with components of the typeName, ie;

    "metricNamingExpression" : "class + typename.get('name') + '.' + attribute"

Also removed a few unused imports and the extra newline from the TCollectorUDPWriter (since we're sending a UDP packet per datapoint and Tcollector's udp_bridge.py adds it's own newline on anything it 'print's up to the main Reader).