magix.data.load changes

added support for multiple prototypes and case-insensitive prototype
value match
magix.data.load changes, speeding up opening mjølner inbox

support for sorting directly in database layer, in addition to consuming
this in show-emails, which significantly improved speed of opening inbox