ByteStreamEmonSvc: Modernize and enable thread checker
- Enable static thread checker
- Fix identation
- Modernize the code
- use message macros
- move properties to header
- use range-based loops
- Replace
BeginRunincident bystartmethod
cc @rhauser
BeginRun incident by start methodcc @rhauser