User_model: use variables for table names (#778)

Added variables for user_meta and roles tables and updated the
User_model to use them instead of the hard-coded table names. Also
replaced a few instances of the users table.