Detect (and set) file type.
Merge pull request #23 from samcrang/detect_file_type

Now with automatic file type detection. No vimrc changes needed.