Fixes #2426: Changed URL creation method signatures to be consistent
Allow using string for URL in case there are no parameters
Fixes #728
Merge pull request #2501 from yiisoft/unify-urls

Fixes #2426: Changed URL creation method signatures to be consistent