fixed the issue that caused jasmine test to fail, and revise api exposed. 

I don't want to expose all the details of PgpKey. It is really internal to e2e code. But some fields (eg. uids) are useful. So I decide to just layout the first layer.