Use cmdliner's converters to give better errors when parsing arguments

Also 'configure2' now returns a result type; the client can choose how
to signal the failure (stderr printing, exit code etc)

Signed-off-by: David Scott <dave.scott@citrix.com>