Fixes to add_ssh_key/remove_ssh_key user op

Add application_locked? method to check if the app is already locked or not.

Misc fixes
Check if app has private ssl cert capability to allow add/update alias after acquiring app lock