Use toParam in data-route to allow using slugs.

Fixes #885 

@angelini @pushrax @softmonkeyjapan