Fix a bug with double url's decoding (once by django once by me)
Add some safety in urls with iri_to_uri()
Merge branch 'dev'