Prepend XML declaration to SWID tags

Fixes #214.

Please review, @cfaessler.