Make the JSON representation of profiles just the attributes
Replace references to url with id, for consistency
Remove debugging statements
Make tests pass

 - Click checkboxes directly, so callbacks are triggered.
 - Sleep after clicking creating graphs, to give the server time to
   return data, so other tests succeed.
Remove debugging. Make callback function signatures consistent
Disable logging in testing
Add test for updating anonymous profiles