Better concatenation of relative urls (../img.jpg)

Fixes #6

Before: http://example.com/articles/about.html../../logo.jpg
After: http://example.com/logo.jpg