Added JSONResourceType, to read types in classpath

Also, updated the JSONFileType class, to split apart several of the
implementations of loadType(), so that it can read from Files, Readers,
or the default file alternately.