Get hook-methods only if a testcase will run

This is a follow-up to #1189

As $hookMethods is only used, if this a testcase will run they should only be gathered in this case.

Otherwise this could lead to issues with autoloaders (e.g. Zend_Loader), because $this->name looks like UnitTest::testMethod when using @dataProvider