Modified interface for fitting code.

Now, resonator.Resonator is a wrapper for
generic_resonator.GenericResonator that contains our best default
fitting functions.