Fix NaN timestamp in logs from window.html (#735)
Fix NaN timestamp in logs from window.html (#735)

This commit removes the passing of goog.log.LogRecord objects between
windows, replacing it with passing their fields separately (message,
timestamp, etc.). The direct passing of objects can never work reliably
in Release mode due to Closure Compiler's optimizations that can rename
object fields differently for different targets.

The symptom of the problem addressed by this commit is that the log
messages from the Smart Card Connector's UI (window.html) had "NaN"
timestamps.
googlechromelabs/chromeos_smart_card_connector,googlechromelabs/chromeos_smart_card_connector,googlechromelabs/chromeos_smart_card_connector,googlechromelabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector,googlechromelabs/chromeos_smart_card_connector,googlechromelabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector,GoogleChromeLabs/chromeos_smart_card_connector