Birmingham have completed a deal for the signing of young midfielder Olly Lee on a free transfer from Barnet.