Allow to reuse the NVCC_compiler without cuda_ndarray lib.

Needed for the new gpuarray.
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
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
Merge pull request #1612 from vdumoulin/master

Add ARM architecture check for Raspberry Pi