[yang] parse_transform added to deps, unused variables removed

Summary: parse_transform added to deps

Test Plan: read, build with tetrapak_deps

Reviewers: druss

Reviewed By: druss

CC: mkraemer, druss, aschultz

Differential Revision: https://review.tpip.net/D1264