Optimize and fix Safe char data to rely on less protocol calls
Fix engine bug where safe content was marked as unsafe
Merge pull request #144 from josevalim/jv-safe-fixes

Fixes and performance improvements to html engine