Add test suite for DygraphOptions object. Fix broken method in it.

I'm gonna self-pull this one.