Backport from mx5: Replaced CaseInsensitiveMap with TreeMap.
Merge pull request #32 from mendix/mx4-backport-treemap-for-caseinsensitivemap

Backport from mx5: Replaced CaseInsensitiveMap with TreeMap.