Community groups across the UK celebrate after winning public vote for National Lottery funding