Moved filetype detection.
Added ultisnips.