Implemented sign_key_async to do all the steps required to sign a key.

At the momment it only saves the signed key to a file, no email is sent. Also the popup dialog windows need more work to be done.