Create pidlock.php

Simple and atom lock mechanism for php script for *nix OS.