Admin panel - basic user view added, some messages navigation fixes

The basis of viewing users from the admin panel has been added. This
will need further development to show user type specific properties.
Fixed the message navigation for admin_messaging - it hadn't been
changed over to the template.
Updated the template to conditionally show the admin messaging option
as required.
Updated backend admin_sql library to pull user list from database.