Factored out the string metrics logic from the LocAdapter base class into a new Uize.Loc.Strings.Metrics module and created unit tests.