Catch ValueErrors when trying to read the pidfile.
Use abrt python API instead of direct access

Requires abrt-python package.

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>
Fix minor style and import issues

Signed-off-by: Richard Marko <rmarko@fedoraproject.org>