Add URL escape functionality using encodeURIComponent

Since [pull request #44](https://github.com/schmittjoh/twig.js/pull/44) stagnated six months ago, I thought I'd try to finish the job myself so that this queue can finally start to empty out.