Fix dir method for static GParamSpec in Python 3

Add a __dir__ method which lists GParamSpec attributes and remove code from
getattr which made use of the deprecated __members__ technique for dir
(removed in Python 3). This makes dir(pspec) work again in Python 3.