add SSL_CERTIFICATE for custom certificate

new parameter in .sclib.config
clean up client tests
Fix Device deleteKey bug.

calling deleteKey from vm object.