Check geom type and fix bug with null nodes
Fix almost all ST_Graph tests

TODO: Orient by slope