Use symbolic link based lock file.
Lockfile related cleanups.
Python 3 compatibility for lockfile.
Uncomment all tests.
Don't hardcode lockname in test.
Fixed lock_filename assignment.
Merge pull request #57 from ui/lock-file

Use symlink based locking to prevent race conditions