Fix CodeModel output for trait alias statements

TraitAliasStatement outputs 4 or 5 properties, however, the object header was
given 3 or 4. This caused the output to be invalid.

Also updates the relevant class in HH\CodeModel, as it expected a 'traitName'
property to be output, however that property was optional.