Detect if a node is being reused

Drop a file into the logs directory containing job details, if we find
it already existed this means the node has already been used.

Change-Id: If8151756c8273b57bdbda8e02917210081a8f97c
Related-Bug: #1370275
Merge "Detect if a node is being reused"