Fixed synchronization of app group shared defaults to show today widget

Fixes #2547 

App Group shared user defaults were not forcibly synchronized before calling `NCWidgetController.widgetController().setHasContent` with true.  Added the explicit synchronize calls and also moved the call to the widget completion handler with Failed until after the hasContent flag was set to false.

Provisioning profiles were also updated.