Fixes by Pablo Cerda, allow the module not to depend on ERVW module.
Lots of fixes and changes to avoid using custom js.
Isolate plugins in separated modules.
Put extra elements and row merge code into plugin.
Allow to have multiple plugins enabled per field.
Allow the 'add items' button text to be overriden by plugins.
Allow to execute custom ajx commands when dialog is closed.