Make logfile line parsing reusable.

The code that turns the logfile lines into structure has been separated
out into the functional build_fields_from_milestone and
build_fields_from_logline. They simply take a line and turn it into the
hash leaving the calling functions to frob global state as appropriate.
Merge pull request #30 from broquaint/reusable-parsing

Make logfile line parsing reusable.