fix php version issue from ErrorResponsePlugin

The method used for verifying that a class implementes an interface (is_subclass_of) did not worked with interfaces before php 5.3.7