fix(embed): make tabs in colorbox popup usable

Function embed_select_tab expects input page to be set, but it isn't.
Adding a
´´´
set_input('page', $page[1]);
´´´
to the embed_page_handler function fixes this

Refs: Issue #6357
fix(embed): make pagination in embed colorbox usable

View mod/embed/views/default/embed/list.php is missing a base_url for navigation.

Adding 'base_url' => elgg_get_site_url() . "embed/" to the options for pagination fixes this

Refs: Issue #6357
fix(lightbox): lightbox wasn't shown when generated from ajax view.

It also fixes page owner in core/edit_comment ajax view, needed for a consistent
experience with embed plugin.

Fixes #6304
fix(embed): Allows embedding files from the containing group

If the user is a member of the group containing the host entity, this allows
the user to embed files from that group via the lightbox.
fix(lightbox): Correctly applies color box options on each element

Whatever colorbox options were on the data- attribute of the first element
get copied to all the other elements. This fixes that.

Fixes #6107
Merge pull request #3 from mrclay/sembrestels-embed-editing-comment

fix(lightbox): Correctly applies color box options on each element
fix(groups): displays correct group content access options for each content access mode

Content access options for public groups:
 - Private
 - Logged in users
 - Public
 - Members of the group

Content access options for groups using members-only policy:
 - Private
 - Members of the group

Refs #6142
Merge pull request #6384 from mrclay/slyhne-patch-7

Fixes pagination and group file finding in embed
Merge pull request #6378 from sembrestels/embed-editing-comment

fix(lightbox): lightbox wasn't shown when generated from ajax view.
Merge pull request #6393 from juho-jaakkola/group_access_settings

Display correct access options for group content
Merge pull request #6363 from slyhne/patch-6

fix(embed): make tabs in colorbox popup usable
fix(events): makes the plugin_id parameter reliable for plugin events

Some plugin methods trigger events which include a "plugin_id" parameter.
In some cases this parameter was unavailable. This makes sure it's always
available.
Merge pull request #6341 from mrclay/fix_plugin_event

Makes the plugin_id parameter reliable for plugin events
chore(blog): simplify the blog js

Clean up the blog autosave JS and action

Refs #6368
chore(blog): replace save_draft.php with its js equivalent

Replaces save_draft.php with its js equivalent and reflects the changes in plugin init

Refs #6368
chore(blog): refactor auto save action and adds missing container references

Refactors the auto save action to be more readable, adds action description, adds container logic, removes unused variables

Refs #6368
chore(blog): correct syntax and combine jQuery selects

Corrects comparison operand, adds missing semincolon, combines jQuery operators, exposes update interval as a variable

Fixes #6368
fix(blog): unsaved drafts do not need auto save annotations

Refs #6368
chore(blog): consistent date format

Refs #6368
fix(blog): last saved time should correspond to time_updated

Refs #6368