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