py: Add basic implementation of hasattr() function.
showbc: Decode MAP_ADD.
py: Don't expect that type->getiter() always returns iterator, check for NULL.

This is better than forcing each getiter() implementation to raise exception.
py: Fix __len__ special method result handling.

Having both MP_OBJ_NOT_SUPPORTED and MP_OBJ_NULL is arguably confusing.