working on share feature, and refactorings
Changed name of emitAppEvent to just appEvent
more work on share panel, #864
work on share panel view, and better look for checkbox
Added directive element for the new checkboxes