FormatService: Convert from list to set

DefaultformatService now stores Formats in a TreeSet, to keep Formats
naturally sorted on subsequent addFormat calls, instead of using a List
and relying on Collections.sort.