Move findInChI and getInChI to functions.php

Added relation tables to link products/reactants of an experiment to compound IDs to facilitate compound searching later on.