Community projects bringing people together awarded almost £1 million thanks to National Lottery players