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
You should document that flags in the file doc/library/config.txt and in the section faster-theano-function-compilation  in the file doc/faq.html