Singleton detect symbolically linked instances

Hi there, I'm new to GitHub so I hope I'm doing this right.  I changed the singleton module to use realpath instead of abspath in order to detect scripts that are invoked via symbolic links to the original script.  I ran the tests and all passed. Hope this helps!