Addresses GH #1808.
There are several possible future improvements:
* add a new icon for key import
* reduce duplication of code between the RPC private key importer and
the GUI private key importer
* improving error messages for various error states