Break out Vim's file type detection from .vimrc

Vim's file type detection doesn't need to sit in .vimrc.  Keep things
clean and break out the markdown detection.
Merge branch 'ftdetect'