Moved mime type class to core\io

Signed-off-by: Tom Wright <tom@inflatablecookie.com>