Use rest-client < 1.7.0 for ruby versions < 1.9

This way we don't break 1.8.7 compatibility right now. We might wanna do
that later on though.