VDI.create: start using new cmdliner autogen code

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.create: remove boilerplate through functorisation

Signed-off-by: David Scott <dave.scott@citrix.com>
Rename ounit to oUnit

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.destroy now uses new cmdliner interface

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.attach uses new boilerplace

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.detach now uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
VDI.resize uses the nwe boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.scan uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.attach ported to the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.detach uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
Query.query now uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.create uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
SR.destroy uses the new boilerplate

Signed-off-by: David Scott <dave.scott@citrix.com>
Merge pull request #8 from djs55/cmdliner-library

Switch to using new cmdliner boilerplate