Check if private key or cert is nil and raise errors accordingly.
Some validation for command
Check for customer id
All parameters that are required for all commands now have some kind of initial validation, mainly checking that they are at least provided in the hash.
Merge pull request #1 from devlab-oy/paramserrorhandling

Paramserrorhandling