Better OSX support

Change the permissions to set executable flag on Install.pl and dora.pl. Also change shebang to '/usr/bin/env perl'. Tested the shebang on Windows 8 (github shell) and OSX.