Add territories API

- Add /countries endpoint
- var territories = new api.Territories(); territories.getCountries({}, callback);