FIX postgres can filter on non text fields

Filtering non text fields in postgres would cause the SQL to fail. This
casts the field to text before the LIKE filter.
Fixed RSS example
Merge pull request #2654 from icecaster/patch-3

Fixed RSS example
Merge pull request #2242 from torleif/3.0

FIX postgres can filter on non text fields
$manifest needs to be global for Deprecation.
FIX Dont pop up basic auth dialog when trying to flush and isDev=1, just redirect to Security/login like normal
Removed SWFUpload, no longer used
Merge remote-tracking branch 'origin/3.0' into 3.1

Conflicts:
	search/filters/PartialMatchFilter.php
FIX: Fixed behat text selection rule, which broke some tests.

The behat rule for text selection wasn't working due to the JavaScript not executing properly. I have
also updated the code to traverse all childNodes, which is important if you have text like this:

<p>text1 <b>text2</b> text3</p>

And you are trying to select 'text3'
Merge branch '3.1'