ENH: Add categorical support for Stata export

Add support for exporting DataFrames containing categorical data.

closes #8633
xref #7621 
I think trying to stringify is risky since there is no guarantee that the string representations will be unique.  The current version is a but more forgiving - non string labels are skipped and a partially labeled array is produced.