Add IFormatProvider support to Template formatter. Resolves #26.