fix the key import dialog

It wasn't getting results from the file picker, so I copied over the
original source from OpenPGP Keychain, and wired the result handling
into the main activity.
add kdevelop project files to gitignore
replace String.isEmpty() usage with length() != 0

.isEmpty() which wasn't introduced until ~android-10