This patch changes the CrashLogParser class to be both the base class
and a Factory for the JSONCrashLogParser & TextCrashLogParser.
That should help remove some code duplication and ensure both class
have a parse method.
Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>