Updated Nokogiri & spec to suppress deprecation warnings

I am using this with a MiddleMan based static site generator that uses a newer version of Nokogiri for other tasks.

I bumped the version of Nokogiri, specified a specific rake version, and fixe the deprecation warnings on the spec tests so it would integrate properly.