export XML schemas with correct mime type
fix rating: must use average, not sum
fix for suspension creation: cannot convert date string to integer
additional error check for suspension creation: ensure row is inserted
Fix rating selection: use DB configuration, not literal table name
Merge branch 'fixes' into master