Added another getDefaultSharedPreferences method

This version returns a default SharedPreferences
instance and sets the mode.
Merge pull request #658 from arturdm/master

Add getDefaultSharedPreferences(Context, int) method