Add File Type Detection

Added the file type detection script.  This is taken from the original
vim-pandoc plugin.  I also pulled the documentation from the original
README.  As an aside, this also fixes issue #39.