At least 30 people have been killed in a gang attack on a hillside community that overlooks routes into Haiti's capital.