Add respond_to? second argument true for protected method

respond_to? against a protected method now returns false unless
the second argument is true.
https://github.com/ruby/ruby/blob/trunk/NEWS
Merge pull request #228 from sanemat/fix/machine-with-action-undefined-test

Fix some Machine tests failing under Ruby 2.0.0