ENH: Add categorical support for Stata export

Add support for exporting DataFrames containing categorical data.

closes #8633
use ``com.is_categorical_dtype`` here (``_is_categorical`` tests for ``pd.Categorical``), but ``data[col]`` is a Series