fix for pythons __dir__ returning registrable functions on class instances (which may not have the functions defined).
gave odd behavior of including members in __dir__ that couldn't getattr()


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@57429 954f8c5b-7b00-dc11-b283-0030488c597c