Delay EventLogging click track until next page load

Use localStorage to delay the event until after.

Be more careful and explicit about EventLogging optional
dependencies - when event logging modules are pulled at top of page, previously
they would not log any events successfully.

Bug: 61293
Change-Id: I2fe5bd00db0e6862e77f6b5b1cc7f19b4b000c35