Strip trailing whitespace, semicolons from .inc files when drafting

Trailing whitespace and semicolons get introduced by `typeset -f`, even though
they are not present in the original function created by draft. The semicolons
are unnecessary, and the whitespace drives me crazy. This patch makes the .inc
files a little tidier.