ruby 2 compat -- .methods returns symbols
.map(&:to_sym) instead of to_s
Merge pull request #4 from osheroff/ruby_2

In Ruby 1.9+, .methods returns symbols. No need to convert symbols in EVENT_TYPES etc. to strings for comparison. Map .methods output with .to_sym in order to preserve compatibility with Ruby 1.8, hopefully.