Fix automatic downward directed graph constraint generation

Quick and dirty fix for #14.
Merge branch 'master' of https://github.com/Muon/WebCola into Muon-master

Conflicts:
	WebCola/cola.v1.min.js
	WebCola/src/linklengths.ts