Will only test modules if applications are built
Merge pull request #221 from joakim-hove/module-test-needs-applications

Will only test modules if applications are built
Don't assume Python scripts to be directly executable

The Python script should be passed to the Python interpreter; on some
platforms the script cannot be executed with add_custom_command, only
real executable binaries can.
Remove local testing file from distribution

ecl_local.py is used in test scripts and contain (I gather) settings
local to the developer's machines; it is not distributed in the source
repository.