Fixed data types for INI entries.

Right, so this cost me an hour or two. The "inc" value (next commit) would
always reset to 0 when calling register_ini_entries, only because the struct's
item before hand would write 8 bytes instead of the allocated 4. What a pain
:-) It also changes the return values in the stream-logger-001 test case. The
values are stable, but were just reset to 0 and hence there are now new
numbers.
Fixed PHP-877: Initialise the random value per process/thread, instead of per request.

When setting it per request, it is much more likely to get clashes in the same
process as the inc value can randomly be reset to another already existing
value, instead of just increasing as it should.
Fixed CS so that folds work.
Fixed another wrong type.

Luckily, that one couldn't cause overwriting issues.
Merged pull request #500