[net] Add role for user

Add role and its rpc getter, setter functions.

Any review is welome!
Better use an 'id' column as primary key. MySQL has length limit for primary key. 'INDEX(email)' is not necessary, since 'email' is the first column of primary key.