Search extensions API changes for better XF compatibility, required for Conversation Improvements/Essentials
XF2.3 compatibility fix for custom "SearchOrder" class
Simplify asSqlConstraint code (expected to always return an array)
AbstractConstraint::setMatchType needs to normalize to an int for MetadataConstraint::matchType