Removed energyhistory code from typedefs to a separate file.
Cleaning up of typedefs.h and typedefs.cpp. It turns out there is
a circular dependency since initiation is done in gmxlib while updating
is done in mdlib. Since energyhistory is also part of the t_state struct
it is needed in gmxlib for now though, therefore the mdlib routines
still have access to the innards of the structure. Moving the updating
to gmxlib would on the other hand involve access from gmxlib to the
mdebin stuff in mdlib which is a worse solution.
Change-Id: Id22283d6737bec371c833040b59e85770886abaa
12 files changed: