Fix basket export and linking issues

Basket export: save full hierarchy to baskets.xml
Do not add .basket to archive: starting from KDE 4.0 hidden files are processed by addLocalDirectory
Made IconNames 'const char* const'
Fixed unit tests linkage problem. Due to build-time file generation we can only enable tests after make was run once