Remove some dispatch from percent-encode.

Specifying that it takes a <byte-string> instead of a <sequence>
allows the compiler to directly invoke the correct (optimized)
implementation of ``member?``.
Add minimal test for percent-encode.