New command `file(LOCK ...)`

This is implementation of command 'file(LOCK ...)' with signature from: http://www.cmake.org/pipermail/cmake-developers/2014-October/023461.html