lock_user/unlock_user changes:
 - pass user.id/app.id instead of user/app mongoid objects.
   This will help anyone with bson id does not have to fetch corresponding mongoid model to acquire user lock (eg: oo-admin-repair)
 - app.id is optional to acquire user lock. Once user lock is acquired, no one should get application lock to avoid deadlocks.
Added User pending-op-group/pending-op functionality
Added pending op groups for user add_ssh_keys/remove_ssh_keys
User pending-op/pending-op-group fixes
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
Fix test cases
Fix oo-admin-clear-pending-ops script

Bug fixes
Use run_app_in_user_lock during application reserve/unreserve gears
remove app locked method
Any pending op related to capabilities will be protected by application and user lock
User/App lock changes
Fix oo-admin-clear-pending-ops: Use run_jobs in user/app
Fix oo-admin-ctl-user: Take user lock for updating user capabilities
bug fixes
resolve merge conflicts
Default app_user_lock timeout is 30 secs and user_lock timeout is 10 mins