Dev json stats log v0.2

stat counters in eve-log json stream.

Worked a bit with PeterM on this.  Rearranged json output somewhat to be more compact and probably more useful in Kibana.
Whats the purpose of this function?