Added a test script to see if pickling dAs works.  Also fixed the problem where numpy ndarrays will be pickled from the dA, rather than the theano shared variables that encapsulate then