Use the new path to the class.
Pass the memod dict in deepcopy as it should be.
Fix a test error related to the constant cache.

theano-nose theano/tensor/tests/test_blas.py:t_gemm.test0a