Defender Sam Gale has signed a longer-term contract at Gillingham and two other young players have agreed new deals too.