Added a release script.

This is untested. Consider it a work-in-progress. Particuarly, error handling
is going to problematic.