Preserve non-self closing tags, expose entities, add method Element.setText

Some simple changes to preserve the fidelity of the input xml, especially whether or not a tag was self closing. Also expose ENTITIES so more can be added, and add a setText method to Element.

The isSelfClosing requires sax >= 0.5.0, so I updated the package.json accordingly.