Add logs to know what's happening in `salt.utils.which`

* Move logging initialization to the module scope since there's no problem with that now.
* Switch double to single quotes.