Add dev-side program module documentation

(Originally written for MIT ESP Webminification.)