adapt note/thread permissions for creation (bug 879545)

* Add creation tests.
* Include a new const in mkt.constants.comm.NOTE_TYPES
* Fix docs