Merge pull request #1583 from nouiz/gpuflatten_skip_test

Gpuflatten skip test
Fix grad of Alloc when we unbroadcast an input.

In some cases it was causing an error in the grad related to
broadcasting. In the test it case bad shape.
Make python setup.py and pip install Theano, install *.pkl files.

This is needed for a test.
Merge pull request #1585 from nouiz/alloc_unbroadcast_grad

Fix grad of Alloc when we unbroadcast an input.
Remove use of old numpy api.
Use current numpy c-api
Use new Numpy c api
use current numpy c api
use current numpy c api
Use the new numpy c api that require PyArrayObject as input.
Use the same attribute checking as done in NumPy.
Make Subtensor use the new NumPy interface

IncSugtensor and the GPU code still need update.
Make IncSubtensor use the new NumPy API.
Make GpuSubtensor and GpuIncSubtensor use the new NumPy C API.

This simplify the *IncSubtensor code at the same time.
remove import not used.
Re-enable the caching of c code from [Gpu][Inc]Subtensor.
For Theano to always use the new NumPy C API (and so remove the warning about that).
Add blas timming.
more error info in tests.
remove commented code following code review.