Update incremental build of integration tests.

The integTest task now explicitly depends on the application classes and
resources so that changes to app classes result in the integration tests
not being up to date.
Sort out file paths when installing templates.

Fixes issue #130. I now switch to canonical paths at the point of installing
a template and running the post-install script. This results in much greater
reliability in execution.
Use gradle-all distribution for wrapper.