Add appraisals to filetype detection.

See: http://github.com/thoughtbot/appraisal