Drafts for composing tickets

Added support to save ticket subject and message as drafts. Please add
libsqlite3.dylib framework to test project.