filled in doc.py and contact.py

Hmm. From the API's perspective, probably not. I see no conceptual problem with an empty, title-less draft. From the UI's perspective, we should decide whether or not to prevent submission of empty content.