Merge pull request #545 from scop/check-shebangs-executable

Add check for executability of scripts with shebangs