Added cronjob/lock/lockfile with tests and examples.
An interface and an abstract class is provided to write your own lock mechanism.