fixes for the user class to make it actually work.  Added the global $db object to most methods; renamed the me() method to identify() in order to make all the methods verbs that make sense as to what they do; modified get_results() calls to parse the first value of the returned array as a user object.
fixes for the user class to make it actually work.  Added the global $db object to most methods; renamed the me() method to identify() in order to make all the methods verbs that make sense as to what they do; modified get_results() calls to parse the first value of the returned array as a user object.

git-svn-id: d0e296eae3c99886147898d36662a67893ae90b2@53 653ae4dd-d31e-0410-96ef-6bf7bf53c507

dragonmantank/Habari,dragonmantank/Habari,dragonmantank/Habari