Moved implementation of WSF_PERCENT_ENCODER into "encoder" library, and added the *partial* variant.