AutoPkg defaults relative path fix

Fixes issue caused by improperly parsed ~

It also adds a LGDefaults class, which is a subclass of NSUserDefaults, and can be used for future expansion.  Since so much is currently handled by defaults, we could wire it up with properties and accessors to make calling values much easier in the rest of the code.