REVIEW-2642 - remove unneeded code that was adding private method visibility to BeanDynamicObject#hasMethod().

This should have been removed earlier when we backed out explicit support for dispatching to private methods through our MOP.