Bug 828182 - TrustedUIManager should close frame by chromeEventId

When calling close() now, the caller must provide as an arg the chromeEventId that was used in the corresponding open() call.

@ferjm can you confirm that I've done the right thing in `payment.js`?