Move showBlock/hideBlock to dom-utils module

I also renamed the functions to showElement/hideElement
to generalize for reuse. The implementation is left at
its level of imperfection, but at least it is in a
single place.
Hide options with no author selected
Fix count of total authors selected (was always 0 or 1)

I added parentheses to apply the expected priority to the
end of the expression.