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

One possibility to solve circular imports would be to move all exception classes in a separate numba.errors module.