Executable flag on .sh files
Temporary workaround for missing ref
Fixed another sh file flags
Added *lots* of ignores

There is a certain place in hell for people that things that building output files in a source tree is a good idea.