String size refactor take 2

- started to make fixes in ext/standard
- several other places fixed
- merged php-src/master multiple times