Doctype List for Scopy Left

Added an API /doctypes that list all doctypes
(doctype is defined here as a design document with "all" view)