ensure that parser is closed when parsing a string, to guarantee well formed but not closed XML generates an error
Merge branch 'tsgautier-master'

Also added tsgautier to contributors.

Closes #113
Closes #51