Add validation for the IPMI credential command

This adds validation, along with the additional validation feature that some
attributes may cause others to be required, but only if they are present.

Signed-off-by: Daniel Pittman <daniel@rimspace.net>