Use Tuque to avoid authentication issues and a bit of cleanup.
Clean up logic to inject FITS metadata.

Have the XSLT call to PHP for it, instead of injecting it as a
datastream. Alternatively we may be able to pass a DOMDocument as
a parameter to the XSLT... Shrug?
Parameterize parameters.
Merge pull request #33 from adam-vessey/7.x-INT-285

Misc fixes.