Added methods to grant and revoke user access to a database.
Fixed listFlavours(). Add inline documentation. Added example CLI script.

- 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 I was tidying up the formatting.
I appreciate you may hate this and reject my pull request. Sorry about that.