Add "distcheck" step

A "distcheck" step is added as the last step, trying to install the
resulting source distribution. This helps catch common errors such as
forgetting to list files in `extra-source-files` or `other-modules`
which then aren't included in the resulting source distribution tarball.