Add content type detection and inclusion.

This is necessary, for instance, for mp3 files to play properly in Firefox in
the html5 native player.  It will not play audio if the content type is
binary/octet-stream (which everything is defaulting to currently)