Steve

Carved out some ddoc/view-related functions which I hope to invoke from cbgb.