More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master