Switching lock mechanism to use Redis rather than a lockfile on disk.
Updating lock management endpoint to use new locking mechanism.
Let's only wait for a configurable number of seconds before raising an error when trying to acquire a lock.
Between checks, let's allow the amount of waiting between loops to be configurable, too.
Removing lockfile dependency; fixes #121.
Adding lots of logging messages for debugging.