Remove requirement of empty modules list in .app.src

Previously an empty list was required for the modules tuple, as in
{modules, []}
so a sed call could populate the list.

This change uses an escript to programmatically add an empty entry (or
replace an existing non-empty one with empty), so that the existing sed
call can succeed.