handle both .app.src and .app.src.script files

One is read with file:consult and the other with file:script - the
result is wrapped in a list in the first case. rebar_config is generic