Use common string-to-sha1_hash functions. #694

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>
fix a crash in 'abrt-cli info' when short id isn't found

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