SI-8834 serialize, sequenceToXML pass all options

serialize and sequenceToXML recursively call each other but were not
passing all formatting options.  Fix that.
Merge pull request #29 from ptwithy/master

SI-8834 serialize, sequenceToXML pass all options

Fixes #38