Fix warnings in headers visible to poco user

The -Wno-unused-variable, etc settings are fine for compiling poco itself, but we compile with -Wall -Wextra and thus using poco results in warnings in almost every file we compile because we use poco::foundation for everything.

This fixes almost all header file warnings that I could find in poco using clang 3.3.