Fixing template unit handler for primitive numbers
Length: wavelength - transmittance
XMLMockObjects: Fix usage of Length.
FormatTools: PositiveInteger becomes Length.

Conflicts:
	components/formats-api/src/loci/formats/FormatTools.java
Fix readers using PositiveInteger.
Fix unit test.