Adds change_identity JavaScript event trigger

In order for my rc_openpgpjs plugin to work with session saved passphrases I need to be able to properly detect when an identity is changed. Please allow this pull request which adds the required event trigger into the code base.

Reference: https://github.com/qnrq/rc_openpgpjs/issues/111