Bug 1105237 - [Loop] Move 'share' logic to a separate handler r=crdlc

I'll keep this until bug https://bugzilla.mozilla.org/show_bug.cgi?id=1102157 will be merged, and as part of the 'adding errors to detail panel' bug.