Merge pull request #41 from mspandit/pil-image-fix

Alternative to PIL.image for Mac OS X.
Merge branch 'master' of https://github.com/lisa-lab/DeepLearningTutorials
In the ReStructuredText (*.txt) files, many of the copies of Python code were out of date. Replaced copies of Python code with links to sections of the corresponding files. This dramatically reduced the number of lines of code to maintain. This will help keep documentation in sync with code (but will not guarantee synchronization). Renamed two ReStructuredText files to match corresponding Python files. Modified code files for improved readability. Modified .gitignore to ignore tmp directories.
Ran code through pep8 and fixed all occurrences of E251 unexpected spaces around keyword / parameter equals. Fixed indentation of comments in rnnrbm.py.
Ran code through pep8 and fixed all occurrences of E124.
Replaced final (programmatic) reference to lenet.
Restored doc/convolutional_mlp.txt to doc/lenet.txt and doc/logistic_sgd.txt to doc/logreg.txt to respect existing bookmarks.
Fixed :start-after: options to respect lack of spaces around parameter ='s.
Minimized lines > 79 characters, trailing whitespace, and whitespace before :
Used start-snippet-# and end-snippet-# for precise inclusion of code in ReStructuredText files. Many cosmetic changes to reduce pep8 warnings.
Small adjustments to inclusion of code in ReStructuredText files.
Merge pull request #43 from mspandit/replace-doc-code

Replace doc code