Serialize fit results

This isn't ready to be fully pulled in yet, but it at least partially implements what we were talking about for serialisation: two basic classes that allow you to store the necessary information for fitting results.
how the hell have I missed that this is a valid Python construct the last 2 years?! Nice