Move filetype detection code to a seperate ftdetect file

Moved filetype detection code into a separate file inside [ftdetect folder](http://vimdoc.sourceforge.net/htmldoc/filetype.html#new-filetype), so that users don't have to edit their `.vimrc` file.

Would appreciate if you could merge it.