Add $Id$ and copyright lines to various scripts.