optional validation of scrooge/thrift Document

Usually the preference is to use `List` or `scala.collection.immutable.Seq`. Since the default Seq is mutable.