Filter to encode URI component like JavaScript's encodeURIComponent() for Jekyll/Octopress.