Verify that methods defined on Object class can be stubbed

Methods such as #to_json are sometimes added on Object class and
overriden in subclasses. This commit makes sure that stubbing such
methods is possible in Bogus.

Refs #39
Closes #49