Fixing passcodes for hybrid apps

Since we lost the ability to configure `SFApplication` in `main.m`, we needed the `UIApplication` category below to manage user events for passcode inactivity.  See [this Mobile SDK pull request](https://github.com/forcedotcom/SalesforceMobileSDK-iOS/pull/723).