Tweak the --enable-gcc-warnings warnings set, and start fixing warnings in the code
Sync collab code with non-collab code.

I failed to notice this before because I wasn't building with 0MQ. Am now!
Merge pull request #1198 from rrthomas/master

Start fixing compiler warnings