Rationalize dependencies for use in browser

- Grab dependencies from global if available, else use `require`
- Add bower.json
- Explicitly show dependencies in README
Expose createUserGroup method

Will be used by Blip on account creation and patient profile creation
(to create "patients" group and "team" group, respectively).