Fix for Ruby 1.8.7.

We don't have Symbol#empty? there, so we'll just make one.

This is the same implementation that Ruby 2.0 has:
http://www.ruby-doc.org/core-2.0/Symbol.html\#method-i-empty-3F