Update es6-promise to 1.0.0. `cast` has been replaced by `resolve`
Update capnp to v0.1.3
Add bridgeConfig to pkgDef and persist it through to grains.

Change http-bridge to read permissions list from this new config, and
pass it through getViewInfo. Also, pass allowed permissions to the
client webapp through X-Sandstorm-Permissions
Add userId to userInfo, generated from the account service ids
Add proper permission handling to http-bridge
Handle Demo/Anonymous users better when finding usernames
Merge pull request #33 from jparyani/add-basic-permissions

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