fix stats counters example
print_piece handles a NULL cached_piece_entry*
include which opreation that failed in peer_disconnected_alert and peer_error_alert to make it easier to trouble shoot
fix policy unit test
fix choking issue at high upload rates
add unit test for aomic_count