Fix warning on automake-1.12.4
warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
Removed old instrumentation logging with one that uses the new log facilities.
Converted log output bitfield to std::bitset.
Added instrumentation to polling and socket events.
Align scheduled events from thread_disk to rounded seconds.
Added 'protocol_piece_events' logging.
Merge pull request #37 from skydrome/automake-1.12

Fix warning on automake-1.12.4
Converted storage and network log signals to the new logging api.
Cleaned up old logging signals.
Removed unused signal typedefs.
Added subdirs options to suppress warnings.
Cleaned up old code in 'torrent/utils/log.h'.
Added gzip output option for logs.
Added missing macro to enable stdc format macros.
Fixed logging of bitfield size memory use.
Added instrumentation for chunk memory usage.
Added cacheline alignment attribute to various hash and chunk classes that get passed to the disk thread.
Added instrumentation for how much memory is used by the hash checker.
Fixed compilation issues with clang.
Added 'ui_events' logging option.