Added docblocks from the query handler.
Implemented proper quoting for the attribute filter.
Added a getUserNameFromId method to the users module.