Settings activity template.

This adds an activity template for Settings. The template comes with
a bunch of example preferences for common things like notifications
and sync frequency, while highlighting design best practices such as
binding summaries to setting values, hiding extraneous buttons in
dialog preferences, and even showing a two-pane UI on tablet devices.

Future work should further improve on this by using the modern
fragment-based PreferenceActivity APIs on all API 11+ devices, not
just tablets. With this change, template code would become pretty
complex, so I punted on it for now.

Change-Id: I8f18fce4a00193c2878d5a94c12f5ad4ee81ce8d
11 files changed