Moved global node modules back to package.json's dependencies, nuked from debianizing makefile.
Revert "Moved global node modules back to package.json's dependencies, nuked from debianizing makefile."

This reverts commit 561260a711ed8f06e5dfcacfe449c2411dcc0ba4.
added flock with duplicates of file paths in /var/lock
added tests for flock
fixed random filename generation
resolve full path of files for file lock path
made locked file handles into an array to handle instances where we lock files multiple times and dont end up unlocking all of them
added os check for flock
fixed log typo
checking config var for FLOCK option
Merge commit '77bf6e544818dbcd41a314a60a7eac1774464d3b' into HEAD