DataFrame to dict with index orientation.
The method `DataFrame.to_dict` didn't have an option for index orientation unlike its cousin `to_json`, which does have.

hmm, seems resonable. can you add a note in whatsnew / enhancements. (also add a versionadded tag in the doc-string).
 Just added the note and the versionadded tag you asked. Should I've opened an issue before submit the pull request?
I was using pandas in a project and noticed the enhancement that method could have. Then I just thought in contribute, but I was unaware of the conventions.
 minor corrections. pls squash. ping when green.
 merged via https://github.com/pydata/pandas/commit/73dcb953efd1646fc1c53540637dde058f36fe92

thanks!
