fixed typo (ln/xmpp4r/pull/21)
Make sure to open files in binary mode, in order to correctly transfer files on Windows. (ln/xmpp4r/pull/19)
Added a test to check that attributes are not being normalized twice in parse method – broken

Fixed typo

From https://github.com/ln/xmpp4r/issues/13

For example this message sent from pidgin: http://gist.github.com/556059

After parsing in StreamParser becomes like this: http://gist.github.com/556060

Take a look at the link in xhtml body, it's now broken because ampersand is encoded one more time.

I've also wrote a simple test for this situation: mironov/xmpp4r@0910f1e

Digging deeper into the problem I found that the problem is in add_attributes method.
From docs of REXML, "should be the unnormalized value of the attribute (without entities)".
But attributes are normalized, with entities.

So I've hacked a quick fix which is not very clear, but works for me: mironov/xmpp4r@453084c
Fixed broken parse method (ln/xmpp4r/pull/14)