More natural language friendly string matching in PreloadSupplier.

This is done by updating the StringCompare helper class to also provide
a comparison method that conforms to the STL requirements for less<>
predicates, and then wrapping this as an STL predicate.

(A portable default implementation of this is done through "clever" use
of RE2 to get UTF-8 capable string comparison. Users of the library can
override this with better/faster implementations.)

This will make PreloadSupplier able to match "ZÜRICH" and "Zürich". Yay!
;-)

R=rouslan@chromium.org
BUG=

Review URL: https://codereview.appspot.com/101340044
6 files changed
tree: 1f9b8a53562efeba8172affd7eca31e559a2d455
  1. cpp/
  2. externals/
  3. java/
  4. testdata/
  5. .gitmodules
  6. codereview.settings