[net] Add role for user

Add role and its rpc getter, setter functions.

Any review is welome!
Adding an id column for primary key sounds great.

BTW, if INDEX(email) is not necessary, should INDEX(email, role) be sufficient for the MySQL case?