hasMethod compatibility with ClassProxy

AnythingClassProxy::hasMethod should be compatible with ClassProxy
Merge pull request #35 from sahanh/patch-1

hasMethod compatibility with ClassProxy