Serialize draft (PR #8175)

This PR adds a function serializeToDraft to the composer model to allow saving topic custom fields to draft and setting them back when the draft is reopened.

Here is the post on meta for this. https://meta.discourse.org/t/including-composer-custom-fields-on-save-draft/126913/2

GitHub