fix warnings for uncheceked casts
restore generation of modules section in .app file
don't touch app.src if erlide.no_app_src is defined