Fix segfault, add ut_settings, add ut_ssuurlresolver, add tests/sandbox

Fix segfault - caused by a small typo in Ssu class.
add ut_settings - merge() and upgrade() is tested.
add ut_ssuurlresolver - tests if the libzypp plugin works.
add tests/sandbox - redirects QFile operations to sandbox config directory.