Fix issue #86, use ByteArray instead of String to convert XdmNodes to InputSources.
Use XdmNode .asSource() instead of my own kludgy hack
Fix issue #84 remove memory leak
Fix issue #81 treat namespace nodes like attribute nodes
Patch to fix for issue #86, make sure the base URI is preserved
Remove my kludgy hack from here too
Fix issue #80, don't automatically connect non-primary input ports to the default readable port
Attempt to fix issue #82, make sure that 'inner pipelines' in an cx:eval register extension functions with the correct context
Merge recent bug fixes from saxon-94 branch