Add bridgeConfig to allow permissions for legacy apps, and add a userId to userInfo

Also updated capnp to v0.1.3 and es6-promise to v1.0.0