ureport: enabled inclusion of Authentication data

Fixes #267

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

Conflicts:
	src/plugins/ureport.c
lib: add xstrdup_between(str, open, close)

Related to rhbz#1140224

Signed-off-by: Jakub Filak <jfilak@redhat.com>
testsuite: add test for xstrdup_between(src, open, close)

Related to rhbz#1140224

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

Conflicts:
	tests/Makefile.am
lib: add wrapper for g_hash_table_size()

Related to rhbz#1140224

Signed-off-by: Jakub Filak <jfilak@redhat.com>
lib: add strremovech(str, ch)

Signed-off-by: Jakub Filak <jfilak@redhat.com>
ureport: use additional HTTP headers with 'rhsm-entitlement' cert auth

Related to rhbz#1140224

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

Conflicts:
	src/plugins/ureport.conf