Add basic dialog for extract function action

Currently only Ok/Cancel buttons are implemented
Generate correct .desktop file depending on installed kdevelop version