Changed the constructor signature for AndroidPreferences - now takes context instead of SharedPreferences.
Formatting changes
Pull default collection values from res files rather than hardcoded values