fixed bug when dir is called on Dict object

fixes bug #19 
The bug only appeared in 2.7 from what I can tell.
Not very familiar with python , but I assume no one would manually set the names __members__ or __methods__ anyway.