use set_form_data to send query string
Merge pull request #1 from bwitt/master

use set_form_data to send query string and a fix for ruby 1.9