use longs for time filter in trends panel, closes #1093
Use first element in array if tooltip is an array, closes #1036
Do not show __blank__ for 0 valued fields, closes #1059