Moves output escaping into it's own dir so it can be made a git subtree.

|Q |	A|
|Bug fix?| 	no|
|New feature?| 	yes|
|BC breaks? |	no|
|Deprecations? 	|no|
|Tests pass? |	yes|
|Fixed tickets |	#1408|
|License |	MIT|
|Doc PR |	-|