Only problems of same type can be duplicates

The local duplicate detection routine was augmented to never consider
two problems from different analyzer to be duplicates.

Signed-off-by: Martin Milata <mmilata@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>
satyr-compat: treat bt distance as a float

It is float in satyr, while btparser returns int.

Signed-off-by: Martin Milata <mmilata@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>
Short BT deduplication false positives workaround

Whenever backtraces that are shorter or equal than two frames are
checked for duplicity, fall back to full comparison. This should prevent
the current behaviour that two one-frame backtraces are always
duplicates regardless of the frame content.

Fixes abrt/btparser#6.

Signed-off-by: Martin Milata <mmilata@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>