Add shebang line, fix line terminators, file privileges

* add shebang line to allow execution directly from commandline
* fix line terminator to make it work on linux
* remove +x from COPYING