units: Add decorate() function

Signed-off-by: Masatake YAMATO <yamato@redhat.com>

Conflicts:
	misc/units