[Stable10] Fix for subadmins edit email address of its users
[Stable10] Fix for subadmins edit email address of its users

The issue was caused because annotation for
non admin users to setEmailAddress method was
missing. And along with that checks are added
so that only admin and subadmin users can edit/set
the email address of its users. A subadmin user
cannot set/edit the email address which it has not
access to.

Signed-off-by: Sujith H <f003c101b6db321bb70f3b324d211f3cd092837a@owncloud.com>

owncloud/core,owncloud/core,phil-davis/core,owncloud/core,owncloud/core,owncloud/core