Preserve order of parameters and properties

Since version 3.7, icalendar supports the preserving of the order of
the ICS file's parameters and properties. We can use this to avoid
unnecessary changes for .ics files managed with singlefilestorage.
Merge pull request #71 from untitaker/icalendar_sorting

Preserve order of parameters and properties