#531476 by aaron and mfb: Add favicon mimetype as a theme setting to avoid expensive calls to file system.