New methods to grant and revoke user access to a database. Fixes, documentation & examples.

- Added grantUserAccess() and revokeUserAccess() methods.
- Added autodoc parseable documentation for all methods.
- Fixed listFlavours() (wasn't working, guessing the API changed).
- Added command line script to show example usage for people as lazy as I am.
- Refactored the param order for the internal method setEndpoints().

Also replaced all tabs with spaces while formatting.
Appreciate you may hate this and reject my pull request.
Sorry about that.