Optimize FindFirstCharToEncode for JavaScriptEncoder.Default and Relaxed using Sse2 intrinsics. (dotnet/corefx#41933)
* Optimize FindFirstCharToEncode for JavaScriptEncoder.Default and Relaxed
using Sse2 intrinsics.
* Create an Sse2Helper and improve perf of TextEncoder and
AllowedCharactersBitmap
* Loop unroll FindFirstCharacterToEncode
* Improve code coverage.
* Add more tests for surrogate pairs and fix call to WillEncode.
* Address PR feedback - remove some code duplication.
* Move DefaultJavaScriptEncoder to separate file and override EncodeUtf8
with better caching.
* Add default replacement character as a test.
* Address nits.
Commit migrated from https://github.com/dotnet/corefx/commit/
c4b93b6768a5edd6416145de108c584a855aef26