osclass/Osclass — pull request #1163 by conejoninja (2013-11-13 10:28:23+00:00)
Title: this commit should be merged instead of #1138

* Trailing slash "/" will not be added to search url, because we do not add it anywhere . For example
http://www.example.com/user/register
http://www.example.com/user/login
http://www.example.com/user/register
http://www.example.com/item/new
http://www.example.com/region-r123

* Everything is kept at osc_search_url function, no different functions for subdomains

* A subdomain url could not have the same param twice in the url. region.domain.tld/search/region,123/ is now region123.domain.tld , same for canonical urls