Frozendict implementation for reaction.metabolites

Pure python this time, no messing with internal functions to avoid
difficult to trace segfaults.