Added unit helpers to Duration

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Added duration input widget

Signed-off-by: Tom Wright <tom@inflatablecookie.com>