Merge pull request #4457 from wilsonge/patch-24

[CS] Code Style fixes for ContentHelperQuery file
[imp] Allow server-relative URLs in redirection. Fixes #4255

Suppose you have a web server using Joomla where this web server is both reachable via http://www.example.org/ and http:/example.org/. With the current implementation of the redirection plugin you need to define two redirections within the redirect manager component for every page you want to automatically redirect from its old location to its new location:

old page: http://www.example.org/path/to/old/page.html
=> new page: http://www.example.org/path/to/new/page.html

old page: http://example.org/path/to/old/page.html
=> new page: http://example.org/path/to/new/page.html

With my proposed file change it would be sufficient to define only one redirection in this case:

old server-relative page: /path/to/old/page.html
=> new server-relative page: /path/to/new/page.html

line 75: tabs removed

check redirect found whether published
Bug create admin-menu when installing the component due to duplicate column element in table #__extensions.
[fix] Reverting [imp][25616] Delete URL-Parameter limitstart (also when its value is 0). Fixes #4488. Closes #3725 (reverted from commit 4c7cd1516acf3083d377cfcab11d2a1ecfff1d63)
This PR fixes a regression introduced by #4221

#4221 was incorrectly using str_replace() to remove the default language
code when needed. As str_replace acts globally on the subject, the
language code was removed also out of context (e.g. when part of an
alias).

With this PR I use instead preg_replace with the limit of one
substitution. due to the fact that the /language-code string to be
replaced appears just after the host name and cannot be part of it (due
to the/), this should guarantee the correct replacements of the language
code only.

I took the occasion to make a bit of clean-up by aggregating some
redundantly duplicated code
Merge pull request #4502 from smanzi/fix-#4421

Fixes for a regression introduced by #4221
[imp] Template isis: Fix small subhead issue
remove mootools from edit_modules
$app never used
[Code Style] administrator/components/com_banners
[Code Style] Clean up plugins

Codestyle fixes for plugins

Cleanup PR
lost sheep
mootools from menu edit
Some more cleanup
[Code Style] administrator/components/com_cache
[Code Style] administrator/components/com_categories
Merge pull request #4515 from chrisdavenport/cs1

[Code Style] administrator/components/com_banners
Merge pull request #4518 from chrisdavenport/cs3

[Code Style] administrator/components/com_cache
Merge pull request #4520 from chrisdavenport/cs4

[Code Style] administrator/components/com_categories
[Code Style] administrator/components/com_checkin. Closes #4524