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.