Added SgEntity.__dir__ for Entity objects

dir(SgEntity) now displays Entity fields, also allow autocompletion
support for ipython.