Added gettext_territory function to find the name of a territory in current locale.
Added loans by country to loan stats.