add support for using PWD instead of history in wakatime
add support for using PWD instead of history in wakatime

* add option WAKATIME_USE_DIRNAME which when "true" will cause the script to send $PWD to wakatime instead of the last command in the history
* fixed a few shellcheck warnings
* miscellaneous comment cleanup

wbinglee/zsh-wakatime