add type agnostic functions for map_string_t

Closes #204

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

mmilata: fix asserts in unit test