Add $pattern as constructor parameter to ErrorLogParser

This enables to set a custom format against which to parse Apache2 error log lines.