make string truncation more robust
improve width-based string truncation for search result names

Conflicts:
	components/insight/SRC/org/openmicroscopy/shoola/agents/dataBrowser/view/SearchResultTableModel.java
Merge remote-tracking branch 'remotes/origin/develop' into trac-12494-search-table-crash

Conflicts:
	components/insight/SRC/org/openmicroscopy/shoola/agents/dataBrowser/view/SearchResultTableModel.java
Merge pull request #2876 from mtbc/trac-12494-search-table-crash

fix #12494: prevent search result table crash in Insight (rebased from dev_5_0)