Use String#encode instead of deprecated methods
Do not use String#escape
Do not use String#escapeHTML
Remove unused deprecated methods
Drop Ruby 1.8 support