Add urlencode filter

This adds [the urlencode filter][1] and some tests to make sure it correctly handles strings, arrays, and objects.


[1]: http://jinja.pocoo.org/docs/templates/#urlencode