Fixed file permissions for *nix systems. 

As said in the title: this change is pretty forward. Permissions have been fixed. Only actually executable code (and a few key python scripts) retained the execution permission.

This version builds successfully on my Debian machine, both using qmake/make and through the use of the makefile.unix (for the deamon).