Merge pull request #8 from ehaselwanter/master

add lockfiles and delete them from tree
serverspec has a contract on running commands remote. this fixes the local execution and adds a conditional context depending on the presence of the nx flag