Attribute completion is broken for device proxies since IPython 4.0.0

This issue follows up on itango#11 (closed).

The solution is to rename the DeviceProxy._getAttributeNames() method as DeviceProxy.__dir__. I'll make a PR soon.