Move white/blacklist checking from classes to instance methods

This fixes another insidious bug where Zend sometimes pre-compiles
whitelisted inherited instance methods into a blacklisted subclass
without actually making a class entry for the whitelisted parent
class. This necessitates checking every instance method of a newly
encountered class for membership in the whitelist, even if the class
isn't declared in a whitelisted file.