SDK Manager delegates, native app template update

I think this is the last of the SDK Manager stuff, prior to merging back into unstable.

- Added the SDK Manager delegates to cover the functionality that `SFAuthenticationManagerDelegate` was covering on app boundaries.
- Updated the native template `AppDelegate` to use the new patterns.