Integrated locks from APC + some fixes

After thinking a bit more I've decided to put the srwlock kernel code first, not the slim lock one. The reason is that srwlock kernel is compatible through every windows version starting with winxp. This way apcu already has some locking on windows. Integrating the slim locks can be done later. For me it compiles on 5.3 and 5.5 and cli tests pass so far exept this two:

ext\apcu\tests\apc54_018.phpt
ext\apcu\tests\apc_010.phpt