Update nokogiri dependency to version ~>1.5

This allows continued support for 1.5 on Ruby 1.8.7 as well as 1.6,
which dropped support for Ruby 1.8.7.