WIP: privilege registration

initial registration of privileges with and endpoint for ui to fetch all available privileges in the system
@sivakuna-aap @mdhaman