Warnings rely on stdio and should be sync
Require :escript_main_module for generating escripts

escripts must be opt-in because developers should not assume
they can simply generate escripts for all projects. This change
is a small one but makes it clear the desire for the project to
be escriptized.

Closes #1845