refactor main, test*: import and run tests differently
utils: prettyDebug, return string, not number
routing, test_routing: made criterias, which get optimized, configurable
refactor criteria, routing: moved lineStraightness into criteria.coffee and classed its return value
criteria: LineStraightness node and segments are now local variables, segments is an array
refactor: class Graph
main: don't zoom on dblclick
Merge branch 'master' of github.com:Rajikarubijua/bushumappu