sql: removed redundant JOIN in authorization query
README: added an explanation about the data model
README: added privileges example
Merge pull request #56 from zalora/sql_tweaks

Sql tweaks