Dead code removal: constraint graph handling in initOrder
Remove test/demo, mv test/unit to test
Remove worthless modules-test
Move lib/layout to lib