Further refinement of DAWG code. Next: packing

Merged suffix optimization by hashing and prefix optimization by
coalescing single-edge chains into multi-character prefix nodes. Better
comments. Moving towards output of packed DAWG.