Refactored all sharedPreferences access into its own class.

Fixes #278 by moving strings that should not be localized into keys.xml. Also should reduce code duplication and errors caused by having inconsistent access to the sharedPreferences. All access should now go through the TodoPreferences class and there shouldn't be any hardcoded keys, etc.