Pickle and Unpickle theano functions

Added a test case to verify if pickle and unpickle a compiled theano function works.
Passed.
Rather than a dirty hack to remove the fgraph attributes, I would make a variant of the clone method that does the clone without that attribute.