get hostname only once
use DateFormatUtils from commons-lang that is thread safe
organize imports and format code (intellij style)
millisec precision is back (with test)
fix small typo compatability/compatibility
Merge pull request #11 from looztra/optimize2

Optimize : request hostname to system only once and use DateFormatUtils for date formating