Fix most of the warnings introduced in `master`.
Remove the debugging options from the distribution scheme.
Fix missing selector warnings by declaring them in headers.
Don't use `#warning` for my dev notes.
Merge pull request #1695 from quicksilver/fix-warnings

Fix most of the warnings introduced in `master`.