Fix verify_grad tests after change in Theano

Also stop trying to use attributes of GradientError that are not present
any more when the error is raised.
Merge pull request #1211 from lamblin/fix_verify_grad

Fix verify_grad tests after change in Theano