Add a method to clear the existing notification identity.

This may need some more work to behave properly (such as unregistering with the MIT API server)

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Clear the existing identity if we are trying to register for notifications while in the simulator

Signed-off-by: Blake Skinner <bskinner@mit.edu>
'Settings' modernization (#17)

Enable ARC for the Settings module and the Touchstone settings view controller.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
'Settings' modernization (#17)

Major overhaul of the settings module. This should get rid of a couple of ugly tricks I used and (hopefully) improve the behavior of the notification toggles.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Convert to ARC and add a method which allows for a block callback when the device registration is complete.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Explicitly alloc an NSMutableArray. Hopefully, this fixes a bug where shuttleStopSchedules is, somewhere, being set to an NSArray (and barfs on addObject:).

Signed-off-by: Blake Skinner <bskinner@mit.edu>
'Settings' modernization - #17

A few more updates to the Touchstone settings page. This should fix a bug where the authOperation (being a weak property) may be immediately dealloc'd

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Behavioral updates to Settings root view

Update the root Settings view so we get a bit nicer behavior when switching between API servers.

Signed-off-by: Blake Skinner <bskinner@mit.edu>
Merge in 'issues/17-settings'. Fixes #17

Signed-off-by: Blake Skinner <bskinner@mit.edu>