Add missing error checking in some py -> dynd conversions
Add __int__, __float__, and __complex__ methods to the nd.array object