core:Factory raise Attribute if trying to access attributes like `bind`
core:WeakMethod test for reference error raised on python3
factory: revert name/class comparison.
Merge pull request #1726 from kivy/lang

core:Factory raise AttributeError if trying to access attributes like `bind`