Fixed tests from rehaul.
Added a permissions handler and datastruct.
Added a singular user decoder.
Fffffuuuuu...  forgot to reprocess the stupid permissions, so they were a stupid unicode string, like a mofo.
Fixed a typo...  user -> uid and site -> sid.
Gah.  Another typo.  permissions -> permission
Added site invite endpoints.
Added an invites structmapping.