tests and cache datasets

- Add a Theano related test
- Make pylearn2 datasets faster
- Cache more datasets