BUGFIX Includes all children of a class when building the query for SearchEngine, not only the ones that have a table in the db (ie if the Page class doesn't have a $db property, pages with this page type would be excluded from the search results)
NEW Backported prepStringForDB from module master

Requires core change backports as well, mainly
in DBField->prepValueForDB()