SharefPreferences StringSet implementation

This is implementing #264. The code is based on #543, but i changed the serialization to XML, as the conversion has come to this.