fix php version issue #14 from ErrorResponsePlugin

A new way to check the class implements the ErrorResponseExceptionInterface (previous method "is_subclass_of" did not worked with interfaces before php 5.3.7)