Improve "uninstalled mode"

Uninstalled mode now works when the current directory isn't the
snogray source directory, by looking at the directory of argv[0].

Also, it now uses uninstalled mode if argv[0] refers to a snogray
source-tree, even if there's also an installed version of snogray
present (it used to always use an installed snogray if found).