Added Transformer to overwrite xml declaration

Sometimes we get xmls which encodings are declared differently from what
they really are.
Close file handle on transform check
Also fixed close file handle in need transform check in RemoveByteOrderMarkTransformer
Merge pull request #22 from mvanduijker/xmldeclaration

Added Transformer to overwrite xml declaration