Created PreferenceContentProvider

Created PreferenceContentProvider and tests.  Write will cause an onChange event to occur.

Fixes #3434

@devoncarew