Code cleanup
Rewrite all fileparser stuff so that it is more extensible

This change is done by making a Log class and individual line parsers
for all the parts. This simplifies adding new search items within log
files by just requiring adding a new parser rather than patch working
it into the old code.