event changes

1. Reworked add/edit event template
2. Added directive 'cgDropdown'
3. Introduced directive 'cgDatepicker'
Merge branch 'ui-events'