Ruby 2.0.0 defaults source encoding to utf-8 so we need to specifically tag this file with us-ascii
Ruby 2 compat. CGI.escapeHTML has changed the way it escapes apostrophes a few times, so fix up the test to work with however it chooses to escape.
There is already a Set of non-hidden action_names lying around.
Check for `method_missing` in public and protected

Ruby 2.0 changed the behavior of `respond_to?` without argument to
return only search for public method. We actually want to perform the
action only if `method_missing` is either in public or protected.