Port KDevelop::Path to QUrl

REVIEW: 119346
Port pathtest from KUrl to QUrl

REVIEW: 119346
Use KXMLGUI_INSTALL_DIR for .rc files