Partially working terminal tagging

Each proto context participating in kernel generation carries around generic
state (std::map<std::string, boost::any>) that may be used by some of kernel
generation functions.

refs #39