Add script for generating full or partial contracts.

I found it useful to generate a new template which was half filled-in.