BUG: pickling ufuncs defined in nested modules
Merge pull request #4800 from ogrisel/fix-ufunc-pickling

FIX pickling ufuncs defined in nested modules