Added support for territory currency lookups.

The main usecase of this is to figure out at what point in time did
a country use a certain currency.  The default behavior is to use
the current date.

This fixes #42