Add support for a --cleanup option.

This option specifies a command to be run in case the process invoking the
lock keepalive dies. This command will usually be some sort of cleanup script.