Clean drafts before nulling the ticket object
Only clean note drafts unless the ticket is being closed.
Merge pull request #38 from protich/issue/close+note

Draft cleanup revisited.

Reviewed-By: Jared Hancock <jared@osticket.com>