Restructured parser code

Regular expressions are now stored in a dictionairy and values are
extracted one at a time. This allows the parser to extract different
values based on things like the OS version. Also added support for
additional crash types.