Fixing doc typos in Kernel
Merge pull request #2085 from jwarwick/special_typo

Fixing doc typos in Kernel
Improve error message for illegal use of variable in map key, closes #2083
Ensure struct fields are properly escaped when injected into AST