More citation checking stuff. url namespace for finding and getting info about URLs.

New item-tree namespace for functions that handle item trees.