Lock some dependencies to avoid failures on Travis

Hi there,

Nokogiri 1.6 doesn't support Ruby 1.8.7 anymore, we should lock it to 1.5.9. Lock other development dependencies to prevent this kind of issues in the future.

Waiting answers in #266, I'm sending this patch to make Travis green.

Have a nice day.