Working doc implementation

Fix ContactListAPI DELETE call and add test
Add title to Doc fields, make status representation consistently an
integer
Fix the /user/doc/id endpoint
Correctly implement all the Doc functions, add supporting tests