Make the creation of clientVars hookable

Creates the hook `clientVars` that can be used to modify the `clientVars` before they are sent to the client.

Fix for https://github.com/ether/etherpad-lite/issues/1326