Preparing to cleanup mime_types code.
Half conversion to mime_types table and unified functions for sending headers. A LONG way to go in refactoring.