Fix detection and processing of .app.src.script

Loading .app, .app.src or .app.src.script returns now the value as per
the documentation (was wrapped in a list in some cases).

More places in the code detect .app.src.script and handle it.
add tests for processing .app.src{.script} files
add Emacs/vi header to non-dummy test modules