Slightly clean up the injected properties per dshape hack

This needs to be made systematic, probably operating through __new__
__len__ shouldn't return 1 for scalars, add __bool__ method for python 3