Removed the BroadcastReceiver and did this synchronously instead, since it causes timing related bugs. Also, SalesforceSDKManager is no longer a subclass of Application, so we can do this safely now.