Filter language in url_rewrite

If language is specific, url_rewrite will now reject any entries with
none of the desired languages in the title.

Also fixes some bugs which could be encountered if using language: any