Pickle and Unpickle theano functions

Added a test case to verify if pickle and unpickle a compiled theano function works.
Passed.

This is the follow up of gh-1945
Just did another push.

On Fri, Oct 17, 2014 at 12:28 AM, Frédéric Bastien <notifications@github.com
> wrote:

> In theano/compile/function_module.py:
>
> >          self.fgraph = fgraph
> >
> >          # Fetch the optimizer and linker
> >          optimizer, linker = mode.optimizer, copy.copy(mode.linker)
> >
> > -        # optimize the fgraph
> >          compute_test_value_orig = theano.config.compute_test_value
> >          add_stack_trace_on_call = gof.Op.add_stack_trace_on_call
>
> YOu can move those 2 lines in the if on line 1215 and remove the else
> close.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Theano/Theano/pull/2139/files#r19001283>.
>