Remove redundant files
Add InsertManager module

Is a copy of LinkManager with any linkmanager references update. The
intention is to subclass this for the LinkManager and ImageManager
modules.
All 'link' values made generic

So that this can be the superclass of LinkManager/ImageManager
Copy LinkManager tests to InsertManager_spec

And make any link references generic
Make LinkManager subclass of InsertManager
Add ImageManager module

Subclass of InsertManager
Move relevant LinkManager tests to InsertManager

These are now part of Image
Remove default itemValues

As these were specific to LinkManager
Use this.context instead of data-attr
Listen to cmseditor events on LinkManager
Populate itemValues with page types
Setup LinkManager fixture with new generic insertmanager attrs
Update links views to use insertmanager data attrs
Listen to insertmanager events in linkeditor plugin
Remove LinkManager specific test from InsertManager_spec

It should only be included in LinkManager and was causing the
corresponding test in LinkManager to fail
Pass the tabIds object via config data-attributes
InsertManager now specifies a default tab

…rather than ‘page’ which was specific to LinkManager
Add insert image on a page dialog
Add filterEvent helper util

Invokes the passed fn if the event data’s emitter matches the passed
context
Reorganised JS modules folders