Fixed many possible resource leaks

by putting all close() calls in finally blocks
build.xml now reads saxon version from Version class

I think this will work with all versions of saxon >= 9.3, but I only
tested it with Saxon 9.5, so I put it in the saxon95 target.

Also, it requires Ant 1.7.0+ now because of some of the features used.
removed special cases that don't apply
Fix classpath and build options so that ant can run the test suite; fix annoying typo in test class name
Make sure we create the test.dir
Fix issue #171 by checking for a null input document
Copy the attributes too!
Fix (part of) issue #158 by using the appropriate port serialization parameters instead of always using the parameters of the default port
Return the actual URI written, not the one requested
Fix issue #175 by making sure that the base URI of a pipeline that comes from an input stream Input is specified (if the URI is known).
XML Calabash 1.0.19-95 released
Bump version number to avoid confusion
Accept pull request #161 to close many potential resource leaks
Accept pull request #161 to close many potential resource leaks
Fix issue #173 make sure piperack pipelines have a base URI
First attempt to return something useful when a piperack pipeline fails
Also fix issue #173 with respect to loading pipeline libraries
Poked at XML Calabash with Sonar for a few minutes
Fix bug where same document references in file: URIs were being handled incorrectly
Fix bug where runtime.close() is called when runtime hasn't been initialized