Merge pull request #75 from JeffreyDF/master

Replace global var by argument.
call theano.grad on all_params directly in lasagne.updates, this should speed up compilation (see #76)