Add distcheck Makefile target

I find these targets invaluable for ensuring release packages has the right files in them.

The dist target body is a bit hairy, but seems to work. Not as well tested, but easier to follow than the automake version!