Added thrift version detection and enforcement

We are using this plugin on parquet-format project, where we require certain thrift version. Our build fails with very confusing messages if different thrift version will be used instead. Hence it would be great if the thrift plugin would be able enforce which thrift version should be used.

Current implementation adds ability to only enforce one given version. We can add ability to specify version range in the future (such as 0.9.* or 0.9.0+).