Add top-level documentation to TypeableAlgorithm
Tweak TypeableAlgorithm tests to include layouts

Not yet implemented, but right around the corner.
Make TypeableAlgorithm resemble HeadAlgorithm

Main structure replicated with minor changes.
LayoutBasedDictionarySorter referenced but not implemented.