DOC: clarified to_excel and read_excel (GH6260)
as discussed in issue #6260
- io.rst: added a paragraph explaining the difference in behaviour from 0.12
- excel.py: added docstring for has_index_names

thanks to jmcnamara

ps: sorry about the pollution with multiple commits, I'm still learning how to rebase/squash
