Remove unsused code (minor)

James Bergstra added the assert in 2010; 
it was not triggered since then so maybe 
this code can finally be removed?
Fix missing variable renames
Allow to reuse the NVCC_compiler without cuda_ndarray lib.

Needed for the new gpuarray.
Fix when scan sequences are provided as a 1-key dict

Add test for that case
Declare variable before using it
Simplify optimization and remove unreachable code.

After additional checks introduced in gh-1578, some code that was
potentially problematic became unreachable. This commit removes it.
This makes gh-1345 obsolete.
Address the case where sequences are provided as dicts.
added numpy.random.choice function to theano.tensor.raw_random random
numbers implementation
Fix crash. The dtype is passed to numpy.array() and it understand only dtype, not typecode.
More error info.
added check to ensure numpy version >= 1.7 is installed in order to use
the choice function
removed duplicate import
removed unused imports and added missing numpy import
added test for choice function
Merge pull request #1607 from sisp/raw_random_choice

added numpy.random.choice function
Add ARM architecture check for Raspberry Pi
copied the old gpueye code and test.
First version of GpuEye for cuda only.
Use the new interface.
Merge pull request #1590 from nouiz/gpua_eye

[MRG]Gpuarray eye