[net] Add role for user

  - fix a issue with search_emailusers
  - fix bad memory usage
  - add id column for mysql
  - returning role string is not NULL string now
Merge pull request #49 from Chilledheart/usermgr_add_role

 [net] Add role for user