fix issues with encoding caused by using literals
matching preferred styling
ruby 187... support...
refactor out encoding method
wrap tests in 187 protection too
Finalizing encoding-aware diff fixes.

* Diff::LCS::Hunk could not properly generate a difference for
  comparison sets that are not US-ASCII-compatible because of the use of
  literal regular expressions and strings. Jon Rowe (JonRowe) found this
  in rspec/rspec-expectations#219 and provided a first pass
  implementation in diff-lcs#15. I've reworked it because of test
  failures in Rubinius when running in Ruby 1.9 mode. This coerces the
  added values to the encoding of the old dataset (as determined by the
  first piece of the old dataset).
  https://github.com/rspec/rspec-expectations/issues/219
  https://github.com/halostatue/diff-lcs/pull/15
* Adding Travis CI testing for Ruby 2.0.