Configuration: Got rid of the Priority objects. Instead of keeping track of the modules in a hard-coded multi-level priority forrest, they are now kept in a single proprity-sorted array. This will later allow for supporting more module priority levels than 10. Fixes some of [bug 7611 (#7611)].