Drop trailing whitespace
Enrich the collation API a bit.
Fix cross-module hyperlinks.
Add simple collation tests.