Huddersfield Town have confirmed the signing of striker Joe Lolley on a two-and-a-half year deal from Kidderminster Harriers.