BUG: fix UnicodeEncodeError with to_sql and unicode column names (GH11431)
Closes #11431

Still have to add tests

@jorisvandenbossche if you want to add some tests can do for 0.17.1
 I was just looking at it! :-)
 lgtm, just needs a whatsnew note. merge when ready.
