CRM_Core_BAO_File - Fix warnings
CRM_Core_BAO_CustomGroup - Change private _getTableName() to public getTableNameByEntityName()

Based on grep, it appears that _getTableName() is never used, and it's
unlikely to be used by third-party code (considering that it's "private").
CRM_Utils_SQL_Insert - Allow REPLACE INTO
CRM-14765 - CRM_Core_FileSearchInterface - Allow modules to define file-search mechanism
CRM-14765 - FullText - Split prepareQueries / runQueries

Without this patch, changing the signature of runQueries() requires changing
the every fillTempTables() *and* every fillFooIDs().

With this patch, we can change the signature of runQueries() without changing
evey fillFooID() function.
CRM-14765 - Allow fillTempTable() to return multiple pieces of information
CRM-14765 - FullText - Consistently use function name "moveIDs"
CRM-14765 - CRM_Core_BAO_File - Allow calling paperIconAttachment for a specific file
CRM-14765 - FullText - Display file matches as paperclip icons

Instead of defining a separate table for searching by file, treat files as
part of their corresponding entities.  If a file matches, then display a
paperclip icon on its parent record.
CRM-14765, CRM14811 - FullText QueryFormatter - Attempt to normalize query text

This introduces a class, CRM_Utils_QueryFormatter, which takes an inputted
query string and converts it to a more specialized query dialect (such as
SQL LIKE, MySQL FTS, or Solr). The exact conversion logic determined
by a setting ("fts_query_mode").
Merge pull request #3464 from totten/master-file-search

CRM-14765 - FullText - Display file matches as paperclip icons