Use properties for source inclusion

This allows people to override the build configuration to use a
different source directory, and the sources will still be included in
the JAR by default.

And while at it, let's include the test sources in the test JAR, too!