TST: fix a number of test errors for ``test('full')`` with numpy master.
TST: ignore deprecation warnings for optimize.anneal
Merge branch 'pr/3616' into master.

Review at https://github.com/scipy/scipy/pull/3616