get hook-methods only if a testcase will run
Merge pull request #1190 from hpbuniat/fix-gethookmethod-with-dataprovider-4.0

Get hook-methods only if a testcase will run
Refactor PHPUnit_Util_Test::getHookMethods() to perform the class_exists() check
Merge branch '4.0'