Typed options

This adds private typed variants to getOption() and updates a few call sites.

This will be useful in Closurizing, since it allows options to be used without typecasts.

In the future, these variants could do runtime checks that users supplied values of the correct type and that the type matches what's listed in dygraph-options-reference.js.