Remove default extension from untitled documents and new files

This removes the default extension from untitled documents and new files. This causes untitled documents to be in text mode by instead of JavaScript mode, which is the simplest way of disabling the JS hinter and associated features on untitled documents. No extension is also much more sane default than `.js`.

Addresses #4481.