Move Pipe interface to definitions to avoid cyclical imports; Improve ErisMint startState; genesisDoc assertion, documentation