Clean up CalendarProvider2

- Set RESULT_OK in the receiver properly.
- Don't create the provider instance in static; use a proper API for that.

Bug: 35938801
Test: adb shell am instrument -w com.android.providers.calendar.tests

Change-Id: I34eada3d9f14e9688c6af9899b4c69c367e1f6b1
6 files changed