Merge branch 'i382' of https://github.com/kberg/dygraphs into i382
Fix in Dygraph.log for IE8

In IE8, the console.log functions aren't true Javascript functions. They don't support the "apply" or "call" methods.

All Javascript code stopped working when a log message was being generated, therefor this small fix.
Merge pull request #234 from wimme/patch-2

Fix in Dygraph.log for IE8
Merge branch 'master' of https://github.com/danvk/dygraphs into i382
Closure fix; force cast from Element to Node.
Closure tweak: variable 'd' declared twice within the same method.
Closurize dygraph-options.js. Not done.

Also fix bug: this.labels_ was never used! Booo...
Closure fix type Dyraph->Dygraph.
Closurize rgbcolor.js
Add test suite for DygraphOptions object. Fix broken method in it.
Merge pull request #238 from kberg/master

Add test suite for DygraphOptions object. Fix broken method in it.
Some closurifying dygraph-canvas and dygraph-layout.
dygraph-utils.js: isElementContainedBy -> isNodeContainedBy

This fixes a type nit when using the Closure Compiler, since walking
parentNode can give an Element or Document node, not just an Element.
dygraph-tickers.js: Fix variable redeclaration
dygraph-utils.js: Remove trailing white space
dygraph-utils.js: Make Dygraph.error and Dygraph.update public

These seem like reasonable utility functions, and they were used outside
of Dygraph (specifically in DygraphOptions). Making these non-private
resolves Closure Compiler warnings inside dygraph-options.js.
Make dygraph-options.js warning-free under Closure Compiler
#Bug 333: Support for passing point index to drawPointCallback and drawHighlightPointCallback added
Added idx parameter to option-reference
Code formatting