Port fit_function to scikit-bio

Moves fit_function.py from PyCogent, this module used to depend on a
copy of scipy.optimize that was stored statically in the repository, but
since scikit-bio depends on scipy we no longer care about that and we
instead import directly from that module.

Additionally adds the proper documentation.

----

I don't feel very happy about the location where this module will be living.