Allow dynamic updating of ECAN stimulus and diffusion parameters

@sebastianruder FYI, this is related to a discussion we started previously.
Yes; in this case, i'm using the name of a PredicateNode as a key, and the name of a NumberNode as a value, to specify a key-value pair, and it would be useful to be able to easily retrieve the value from the key; can you think of a better approach?