… are handled properly
…urn it to the callback
[api] Allow specifying headers when creating the client
Since everything inherits Client, there's no point in having to require helpers and then use `defaultUsers.call(this, appName)` and such. Binding to Client allows `this.defaultUsers(appName)` to be called instead.
Fix databases for superusers
- Use .indexOf instead of .search - Rename appName to data. This can be used for more than just app names.