wip
fix the tests suite
Preliminary support for #507
Added locale support for link_to. Improves #507