Added thrift plugin and dependencies

Change-Id: I19f56a843d2952a016637e325f65102ea6226dcd