Upgrade to latest ruby 1.9.3 patch level.
Use nokogiri as xml parser to fix travis build.