Fix summary.lua to be compatible with recent Lua

getn is obsolete
Rake/ZIP: better detection of 386 platform
Allow images in paragraph

This needs some finishing.