Use property setter in NumpyExtension class for Python 3 compatibility
Make NumpyExtension a new-style class
Avoid installing NumPy if the user only queries for information