Created the /collections resource.

- Moved much of the functionality from the first iteration of URIs into /collections
- Removed /collectionlist and /itemcount
- While /itemlist still exists, the file can be removed as soon as existing calls to it have been converted to use /collections
- Once /itemlist has been deleted, all the original URIs will have been removed