Fix for 524 and add automatically discovery of NumPy module level scalars

- automatically discovery of NumPy module level scalars
- added auto_attributes to do the above

There are ignored here because we are returning a constant.  `typ` and `value` pairs are the `type(self)` and `self` equivalent.  They are used to things like record attributes.