array: make using pointers with the iterator easier
array: use PTR_OFFSET macro, remove TS_RETURN crap, reorganize resize
array: fix unit tests, add test for realloc resize
array: add check for resizing without growing count, with fixes