Massive code cleanup

This commit doesn't changes anything substantial in the code,
but reorganizes it in foldable units (we use folding.el) and
fixes its markup for literate code documentation using our own
fork of shocco.
Translatable text strings generation

set out of the main tomb script, into extras