Liquid UTF-8 support.

Adds support for UTF-8 word characters in Ruby 1.9 that is also backwards compatible with 1.8.