Resolve all compilation issues in master; add Stream/messageCount to Alarm interface

Enhance Alarm interface with Stream and message count - allows more formatting flexibility in Transports.

Resolve Java compiler complaining about generics by setting target to 1.5
Restore thread-safe version of Tools.buildElasticSearchTimeFormat(double)