FrenchTorrentDb urlRewritter

Just updated the old url rewriting code from foulou (Ticket #1561) to
make it compatible for current version