ENH basinhopping: Add support for custom user-provided minimizers

I'm using the excellent scipy.optimize infrastructure for research, experiments and benchmarking of some custom local minimization strategies. However, without this simple change, I have no easy way to plug my minimizer to basinhopping to overload it for global minimization as well. The default usage of scipy.optimize.basinhopping() is not affected.