when initialize a vectorize object, always set self._ufunc to None first. fix #3285
remove assert in _get_ufunc_and_otypes, add a test in test_function_base.py
Merge pull request #4479 from leomao/master

BUG: when initialize a vectorize object, always set self._ufunc to None first. fix #3285.