Make RootStore and Store inherit from BasicObject.

This change makes it less problematic to integrate with other libraries
that monkey patch Object to add their own methods, like capistrano or
rake.

On the other hand, I saw that this functionality existed in part, but was
removed for some reason I can't seem to find.

Let me know what you think.