Include line terminator test from norwood/express-state 1f60b92
Escape line terminators that will cause syntax errors in JavaScript

Closes #21
Update code comments for escaping line terminator and HTML chars
Add HISTORY entry for line terminator escaping