Communities are going online to help catch alleged criminals at work in their neighbourhoods. But experts say “digital vigilantism” can land people in hot water.