Make dzil test more generic

These two commits allow to specify a different command to run instead of "test" in "make test" or "./Build test".