TEIIDDES-1686 When deploying a VDB, selected to create a corresponding Datasource but none created
Merge pull request #145 from mdrillin/TEIIDDES-1686

TEIIDDES-1686
TEIIDDES-1622: Tidy up some classes and methods

* Generalise methods from IFile to IResource

* Adds generics to lists and collections to bound them and make iterating
  easier

* Convert methods returning arrays to collections since the methods
  internally use lists and caller methods requiring iterating
TEIIDDES-1622: Introduce a PathPair class replacing string maps

* Refactoring requires the pairing of an old path with a new path and
  this has been performed using a Map<String, String>

* Replaces the map with a collection of the dedicated PathPair class.
TEIIDDES-1622: Replace the move action

* Convert the refactor move action to use eclipse's LTK API
 * Wires the action into the eclipse refactoring UI dialog / wizard
 * Wires the action into the eclipse history service
 * Wires the action into the undo / redo framework

* Action is no longer confined to a single resource

* LTK refactoring framework uses change objects for encapsulating the
  modify operations.

* AbstractResourceCompositeChange
 * Sub-class of LTK's CompositeChange that is necessary due to the use of
   EMF. Whenever the change is performed, its child change objects are
   first interrogated for any resources and these are unloaded to avoid
   any erroneous EMF validity errors.

* Remaining issue is the undo/redo commands on the Edit menu as these are
  not currently tied into the resource operation stack but only looks at
  the model edit stack
TEIIDDES-1622: Remove the RefactorUndoManager

* Since undo/redo is being wired into the eclipse history, the
  RefactorUndoManager is no longer needed
TEIIDDES-1622: Refactors the ModelerUndoManager

* Instead of model editors and the model view having a separate
  undo/redo history manager, retask the ModelerUndoManager to
  interface with eclipse's operation history.

* This allows the model view to undo/redo refactor-resource changes
  as well as modelling EMF changes.

* Removes the custom undo/redo actions since they are unnecessary.

* Removes the undo/redo actions from the refactor menu as they are
  now unnecessary.

* Plug in the undo/redo actions in the model editor so that the
  global edit commands work when the editors are in focus.
TEIIDDES-1622: Merge VdbUiUtil and VdbUtil

* Methods in VdbUiUtil are needed for refactoring and cannot be
  used if located in ...vdb.ui but can be used if in ...vdb
TEIIDDES-1622: Fix vdb resource finder utility

* Fixes the getVdbResourceThatContain(resource) method. The
  current version assumes a version 6 vdb hence fails

* ModelUtil replaces getVdbHeader with readVdbHeader that finds
  META-INF/vdb.xml and presents its input stream to a callback
  that will process it

* TestModelUtil
 * Tests removed since they deal with version 6 vdbs
TEIIDDES-1622: Abstract super classes from move refactoring

* Takes common functionality from the move refactoring action
  classes and creates abstract classes
TEIIDDES-1622: Modifies the refactor model handlers

* Simplifies the helper methods by reducing them to
 * preProcess
 * process
 * postProcess

* AbstractRefactorModelHandler
 * Introduced to remove cruft of methods that 'do nothing'

* MappingRefactorModelHandler
 * Since generated-sql is being subsumed into the refactoring
   actions itself, the class is no longer required
TEIIDDES-1622: Couple of small fixes

* ModelerActionService
 * Remove shutdown operations on undo/redo actions as no longer
   required

* ConnectionInfoHelper
 * Help trap programming exceptions if model resource is null
TEIIDDES-1622: Modify the rename action

* Converts the rename action to use ltk's framework in the same
  manner as the move action

* Rename and move both require the synchronisation of related
  vdb files hence the introduction of VdbResourceChange

* VdbResourceChange
 * Change object that performs a synchronise job on the contents
   of a vdb file

* VdbRenameResourceChange
 * Change object that synchronises the vdb file but also removes
   the old-named resource
TEIIDDES-1622: Remove unnecessary classes

* Namespace URI actions are no longer required

* Removes utility classes no longer called by any actions / functions
TEIIDDES-1622: Refactor the delete action

* Refactor the delete action to use the ltk framework in order to display
  a preview of the changes prior to deletion

* Renames DeleteResourceAction to DeleteEObjectAction since that is what
  it does while the DeleteResourceActionDelegate is responsible for the
  deletion of resources
TEIIDDES-1622: Move the checkReadOnlyResource method

* Migrate the funtion to RefactorResourceUtils so that other refactoring
  objects can make use of it.
TEIIDDES-1622: Refactor the calculateRelatedChanges method

* Finding related resources and vdb files is the same for each refactoring
  except what it actually done with them so delegate to the utilities
  class and introduce callbacks to perform the specific functionality.
Merge pull request #146 from phantomjinx/refactor-refactor

TEIIDDES-1622: Refactoring the refactor actions