Make it easier to define custom types.

Change how the mapping from tag names to schema urls, and schema urls to
local files works.