Add auto-mode-alist support for tern files.
Merge pull request #2038 from rrthomas/rrthomas

Add auto-mode-alist support for tern files.