Person.accessible_applications should be a unique list
Clean up JSON-ification of People and Role objects
Minor test clean up