optional validation of scrooge/thrift Document
thrift docs validation - code review changes