abrt-cli report: accept sha1 hashes of directory names. #693

v2: made str2hash() return const char*.

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