Scottish community groups celebrate after winning public vote for National Lottery funding