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.
Fix Versioned::augmentSQL() when the data query was null.
Fixed RSS example
Merge pull request #2654 from icecaster/patch-3

Fixed RSS example
Don't set all injector instances to the global instance.
FIX: Only unregister the relevant class when adding an extension.

This fixes an issue where the Config instance could not be injected, as
it would be immediately cleared.
FIX Dont pop up basic auth dialog when trying to flush and isDev=1, just redirect to Security/login like normal
formHtmlContent() uses missing FormEncType() call

it needs to call $this->getEncType() instead..
FIX UploadField validation error and styles

UploadField now return the validator's error message instead of 403. Plus nicer layout for error messages.
Allow GridFields without titles to be found.
Merge pull request #2242 from torleif/3.0

FIX postgres can filter on non text fields
Update install.php5

Defaulting to MySQL here is really dumb. There is an explicit type as an argument so falling back to mysql could result in "I couldn't write to path ....db" despite the real error that the include of the sqlite3/code/SQLiteDatabaseConfigurationHelper.php failed for some reason.

Other uses of getDatabaseConfigurationHelper also need a similar error handler.
FIX Overriding of theme templates in project folder

Fixes issue of templates not being found when a Page's main/Layout templates are split between the project and theme folders. Adds more expansive testing for template loading.
BUG Ensure TreeMultiSelectField doesn't populate menus with "unchanged".
TreeMultiSelectField's default for its value property is 'unchanged'
which causes menus to not load and generates console errors. Fixes #2795
BUG Default Member.Locale now chooses a better default value when i18n.locale is not a valid translation

This will resolve issues in cases where the site locale may be assigned a value that does not have an explicit translation. E.g. if the locale is en_NZ (and it's appropriate for this to be the assigned locale), Afrikaans will no longer be the default selected locale when creating members. Now en_US is chosen as a better fallback default.

This is a minor ease of use fix that means fewer CMS users can be accidentally created in Afrikaans within NZ based sites.

Test cases included.
BUG: #2503 Fixes performReadonlyTransformation for OptionSetField

NEW: Adding unit test for performReadonlyTransformation #nd fixing OptionSetField #2503

BUG: Fixing undefined variables and function parameters for PerformReadonlyTransformation unit tests

NEW: Adding unit test to OptionsetField for read only fields
Don't show next for anything above TotalPages

Bots often have the habit of trying a next page, even if there isn't one.
Thus, using CurrentPage < TotalPages, prevents from unwanted next-links being shown.
NEW: Allow specifying a factory to use for creating services.

A service factory can be used for creating instances where a non-trivial
construction process is required. This is done by adding a `factory`
key to the service definition.
Register config as a service.
Merge pull request #2815 from Firesphere/patch-2

Don't show next for anything above TotalPages