wrap app with logging fns for derive and transform
wrap effect and emit
working logging for cljs and clj, removed alter-var-root as cljs doesn't support it
use pr-str for cljs as it logs the whole data structure
fix clear-nickname by including upated-inputs in emit

Note: Previous test wasn't accurate enough. The nickname first
needed to be set and then cleared (as you would in the UI)
in order to reproduce the bug.
make hook logging consistent and message more readable