[logger] remove EM::Queue from logstream, enable a stop hook to flush log events
[logger] EM::stop() hook shifts log events from the stream, use size.times() instead of until empty?()
Merge pull request #713 from portertech/logger

Allow the logstream to flush log events on EM::stop()