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

Doesn't look very useful to create the ``attrs`` dict if only to iterate on its items. How about:
```
for name in dir(module):
    val = getattr(module, val)
    # etc
```