add thrift library build option 'pure_enums' for ignorring backward compatibility.

Add thrift library build option 'pure_enums' for ignorring backward compatibility, to fix the issue: https://github.com/facebook/scribe/issues/32 .