Don't use common diretory for different events.
ensure private dir

* ensure that private directory is owned by us, if it already exists.
* factor out private tmpdir functionality
* provide a test for the locking
fixup grammar
Merge pull request #15 from Jimdo/fixup_lockdir

Don't use common diretory for different events.