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.
Merge pull request #4925 from s0undt3ch/develop

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