Lots of changes - reindent, spacing, name changes, reorder, restructure, comments, cleanups ...
- Monkey-patch - makes the code work for old (as in < 0.10) python prometheus client
- Added some comments to document expected input format
- Be more strict when doing string matching
- Mostly log-file but also matching lrms
- Use more specific exceptions matching
- Moved all top-level code together at the end
- Mostly to have them together but also so one in a later stage could move it all into a function and avoid global variables
- Restructured LogReader to an iterator
- So code usage would be much nicer
- General code simplification