Added web example using Autobahn|JS

- always provide at least empty details object
- server needs to specify roles in details in WELCOME
- part of #40
Merge pull request #47 from beatgammit/v2

Added web example using Autobahn|JS