Mafia Theme Checker

This commit adapts the Mafia Theme Checker to check for errors when a mafia theme is added or updated. If a Fatal Error is found, the theme is not added/updated, and the first 5 Fatal/Minor Errors are displayed to the person who tried to upload it.

Some HTML formatting is in there so I can have the Mafia Theme Checker page share this code.