Recreating some missing docs
Fixing command syntax for certificate create-self-signed
PR Comments - re-factoring and tests

Use osenv for defaultProfileDir as it is platform independent. Add fail message when directory passed to init command does not exist. Add validateYargsArguments tests.