add function getting information about dump dir for uid

Related to abrt/abrt#636

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