Lock some dependencies to avoid failures on Travis

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.
Merge pull request #269 from vmg/nokogiri-failure

Lock some dependencies to avoid failures on Travis