Fixed method createUrl() to respect language in URL.

I use the core method generateFontendUrl() instead of reading the global
values of rewriteUrl, disableAlias and urlSuffix and build the URL
manually.