Dependency graph legend with firefox fixes

* Adds a task status legend to the dependency graph
* Fixes for rendering the graph and legend in Firefox (v19.x.x)

nb. This fix is also included in https://github.com/VisualDNA/luigi/tree/visualdna_hackday_2013-06-20