Provide an API call in libiperf to set the test unit format.

Resolves #144.

Submitted by:	 AaronMatthewBrown

(cherry picked from commit f2c4e2b5bd343e06635613e87463b4cabfe98b27)
Signed-off-by: Bruce A. Mah <bmah@es.net>