Autodetect strip parameter for the patch operation

Some patches require an other option than p0. This one will auto detect the right one. ;)
@GM-Alex I wonder if it's better to add a `-p` option to `phpbrew install` command instead of loop for all possible `--strip=num` for each patch. Not sure if a "magic" patch apply could lead to something unpredictable.