Some fixes from the platform
Added ability to add sprintf variables to JText string

[writing it up now...]
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Added ability to use custom non-language string as first part (can be used for concatenating other strings)
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Use JDatabase instead of MySQL queries
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
Correct query format
Correct query format
Merge remote-tracking branch 'remotes/upstream/master' into patch-9
clearfix fix

removes empty clear fix div and clearfixes preceding parent div instead.
Set mobile to true for CriOS
Remove unnecessary empty()
[#30729] Template Editor does not Display well in FireFox. Thanks
Aleksander Linkov.
[#30691] TinyMCE shows buttons with onclick attribute without space and
duplicate class. Thanks Dennis Hermatski.
[#30125] Search module does not take into account the 'search only'
selected. Thanks Brian Teeman.