send mail notification if a file was shared to a user/group

Allow the user to send mail notification to the user/group to whom he shared a file/folder.

This implements feature request: https://github.com/owncloud/core/issues/4499

cc @DeepDiver1975 @karlitschek @blizzz @bantu @butonic