Register UserDefaults programmatically

Apple recommends registering defaults programmatically before you try
to access NSUserDefaults.