Add basic support for CursorLoader.

With the database changes in #800, this allows you to use CursorLoaders from an activity.