ik/2048 — pull request #1 by scottmatthewman (2014-04-05 00:11:57+00:00)
Title: Move all user defaults to M2GlobalState and fix memory leak

Moves setting of default user defaults to M2GlobalState, switching to use of `-registerDefaults:` method in the process, and using constants for default key names.

Also fix a potential memory leak with a retained CGPathRef, as identified by XCode's static analysis.