Added more log outputs, temporalely changed some logs to always output to system.out.
Added more log outputs, temporalely changed some logs to always output to system.out.

Also fixed a bug related to the SYNC message. The bug would prevent the SYNC from being processed if the replica timed out after sending STOPDATAs and only received SYNC after such timeout.
bergerch/library,fmrsabino/library,bergerch/library,fmrsabino/library,bft-smart/library,bft-smart/library