Add utility function for turning any valid model expression into a patsy string

So that models can be expressed as strings, lists, or dictionaries and
converted to strings for statsmodels/patsy on the fly.