Rename *_INCLUDED constants for consistency

Probably still not the best convention, but this is certainly better.
Add mime.inc.php