Add option to resolve event when adding a comment (fixes #9).