doc: fix Folders as Modules omission of index.json

This section was inconsistent with the actual behavior of `require` and
with other parts of this same document, which do describe the ability
to treat index.json as a module’s default file.

PR inspired by the discussion at https://github.com/michaelficarra/us-states/pull/3