WIP: privilege registration

initial registration of privileges with and endpoint for ui to fetch all available privileges in the system
@sivakuna-aap @mdhaman 
In `superdesk.utils` we have `ListCursor` which I think does what you need.