Fix some basic Closure type annotation mistakes
misc fixes
Update dygraph-externs to better reflect the public API (thanks mcantos)