Use inlineable ListIterator class for List.iterator to save some allocations.
[php] A "fix" to make List compile in PHP.
Merge pull request #3179 from nadako/list_iter_inline

Inline List iterator