pep8
In the ShapeFeature, convert x.shape[1] to Shape_i. This will help compare shapes.
Add ShapeFeature.same_shape, that try to compare 2 var shapes.
Add local_useless_inc_subtensor.

Remove the IncSubtensor when we can infer all the shapes are the same.
Make opt local_useless_subtensor convert to subsample when we reverse.
Disable opt in some case discovered in new tests crash with the new opt.
Make optimization more deterministic
Completed TODO in as_tensor_variable which said to strip off leading broadcastable dimensions.
Added check to make sure the variable is of the user specified size after removing leading broadcastable dimensions.
Completed TODO in tensor.py:as_tensor_variable which said to use the Apply default output mechanism.
Added tests to excited the various possible failure scenarios.
Incorporated review comments.
Make OrderedSet pickable
(so fix tests broken by the previous commit that use them more frequently)
Add comment
Fix doc
fix docstring indent
pep8
[CRASH] fix crash that happen during the cron for the doc.
Merge pull request #2093 from nouiz/doc

Doc
Merge pull request #2083 from daemonmaker/todo_astensorvariable

Completed TODO in as_tensor_variable which said to strip off leading bro...
Fix crash in python 3.