Made ShadowPreference call real object constructor.

This ensures that Preference objects set their private Context member
variables correctly. Allows PreferenceFragments to be added during the
lifecycle of the hosting activity.

Closes #1137.