Fix the graph sorter, add tests for the visitor.

Phew. I thought the algo might have been wrong, after all.
Now capturing all but one CSS asset in the collector.