DOC: Clean up Sphinx Issues, fix tabs, in Cookbook
This is a follow on PR as a result of [seeing travis and sphinx render ~30 in line examples for the cookbook](https://github.com/pydata/pandas/pull/8288#issuecomment-58734824).

Continues to address #6918

Initial PR: https://github.com/pydata/pandas/pull/8288

PS - apologies for wanting to rush the first PR.  My evening opened up unexpectedly.  Feel free to merge this latest, or provide more feedback for me to work on later. I'm going off grid for 2+ days starting oct 10th 11 PM EST.

The latest rendering is [here](https://cloud.githubusercontent.com/assets/6062071/4601203/f3dcdc76-50f0-11e4-8466-4db698bdc3b4.png):

Edit : Removed inline view of humongous rendering, still available for viewing at link above.

[Latest rendering](https://cloud.githubusercontent.com/assets/6062071/4608241/4ee22ff2-5279-11e4-9169-e40b42834cb3.png), as of 42cde88

![cookbook5png](https://cloud.githubusercontent.com/assets/6062071/4608241/4ee22ff2-5279-11e4-9169-e40b42834cb3.png)
 Go ahead and merge.  Unless somebody else speaks up, I'm done.  I want to see how github.io renders it.  I'll check it all, ONCE more, after that.  The finer details between sphinx versions and python versions are proving annoying for something like this.
 ok thanks!
 @jnmclarty Thanks a lot for this!

A question, with your expercience now of trying to do this, do you have specific points of attention regarding the issues you had with sphinx/python versions (differences between your local and the travis build)? If so, we could list them in the docs/wiki on building the docs.
 @jorisvandenbossche w.r.t to your question, I'll see if I can put some notes in the wiki.

But, it might be worth editing the template for the pandas docs, where it says "Built with Sphinx X.X.X..." in the footer, to instead link to a page that renders something akin to:

``` python
import sys
import platform
import pandas
import sphinx

print('Version      : %s' % str(platform.python_version()))
print('Version tuple: %s' % str(platform.python_version_tuple()))
print('Compiler     : %s' % str(platform.python_compiler()))
print('Build        : %s' % str(platform.python_build()))

print('Environment Paths:')
for p in sys.path:
    print(p)

print('Pandas version: %s' % str(pandas.__version__))

print('Sphinx version: %s' % str(sphinx.__version__))
print('More: %s' % str(sphinx.version_info))

print ('Other Imported Modules:')
for m,p in sys.modules.items():
    print("%s - %s" % (m,str(p)))
```
 @jorisvandenbossche  I put some stuff in the wiki.
