Fixed file permissions on cpp and java sources

Some non-Unix-based systems like to make all files executable in git for
some weird reason.  This isn't good form, and source files (.h, .cpp,
.java, etc.) should be 'chmod 664'.