Merge pull request #323 from johnathonlee/8.3.x

(BZ1085514) TEIIDDES-2104 now returning empty list and not null if no se...
TEIIDDES-2118: Display error message when jdbc connection fails

* ExecuteVdbWorker
 * Display the error dialog if the code of the connection's returned status
   is ERROR.

* TeiidJDBCConnection
 * Breaks up the exception handling to differentiate between a
   ClassNotFoundException which should be ignored and an actual connection
   failure which needs to be thrown and reported to the user
TEIIDDES-2124: Incorrect exception being caught

* Seems that ClassNotFoundException gets thrown in the IDE but a
  NoClassDefError is thrown by installs.

* Catches any throwable and discards since the important thing is whether
  jdbcDriver has been successfully assigned. If not then moves on to
  alternative initialising process.
TEIIDDES-2044 added ldap plugin to feature.xml and pom.xml
BZ1094844: TEIIDDES-2136 File Source (XML) importer reverses Root patch when typed (Windows)
Merge pull request #348 from johnathonlee/TEIIDDES-2136

Teiiddes 2136
TEIIDDES-1945  Added project validation to catch duplicate file name as WARNING
TEIIDDES-1945 Added ERROR marker for VDB's containing duplicate model/file names
TEIIDDES-1945 Add logic and messages to prevent adding duplicate model names to a VDB
TEIIDDES-1945 Required additional check to allow XMI file already in the VDB to be re-added during dependency check.
Refactors StringUtilities

 * Moves StringUtilites down to org.teiid.core.designer to allow more
   plugins to use it

 * Converts StringConstants into an interface with StringUtilities
   implementing it and moving it string constants appropriately. This
   simplifies the need to those string constants throughout codebase
Reduces complexity and needless duplication

* There exists 2 ModelType classes, which both have identical values and
  literals. Reduce these down to a single class with the static constants
  refactored into a single enum

* **.util.ModelType
 * Adds enum Type which provides single point of information for all
   model types. All existing constants in rest of class defer to this enum
 * Existing constants remain to avoid too many code changes

* **.core.ModelType
 * Defers to the enum in the 'other' ModelType class Type enum.
 * Preserves all constants to avoid too many code changes
 * Discard unused isShredable function
 * Avoids adding a Type field to ModelType since this will not have been
   serialized in existing models

* StringUtilities
 * Provides CamelCase function

* IntermediateFormat
 * Removes another ModelType class and uses Type enum getCamelCaseName
   method instead
TEIIDDES-2120: Move Xsd files from models to other files section of vdb

* VdbHelper
 * Replace static strings with VdbFolder enum that also incorporates a file
   filter, read and write folders
 * getFolder() should be able to return the project as the 'root folder'
   given a suitable folderName, ie. ".". Does imply that the return object
   must be a container rather than a folder
 * Other Files enum only references otherFiles directory when creating and
   adding a file from the filesystem. When reading from the project it
   searches from the root of the project. Necessary since Xsd files can
   appear anywhere in the project.

* VdbFileDialogUtil
 * Passes into methods VdbFolders enum value instead of vague boolean flag

* plugin.xml
* VdbBuilder
* VdbDuplicateNamesMarkerResolutionGenerator
* VdbMigrateXsdFilesMarkerResolution
 * Provides a quick fix to migrate Xsd files from the vdb's models
   collection to its otherFiles collection

* VdbEditor
 * Refactor duplicate code into single addSelectionToVdb method

* Vdb
 * Provides API for migrating Xsd files from the models collection to the
   other files collection and deleting the index file

* VdbModelEntry
 * Broadens scope of imports collection to contain file entries as well as
   model entries
 * replaceImport method to replace import entry references

* vdb-deployer.xsd
 * Comments out the constraint that stops vdbs from containing duplicate
   named models. This logic is already implemented in code and designer
   must support old vdbs that may contain such duplicate models and give
   the user the chance to fix them.

Conflicts:
	plugins/org.teiid.core.designer/src/org/teiid/core/designer/util/StringConstants.java
	plugins/org.teiid.designer.ui/src/org/teiid/designer/ui/properties/extension/UdfJarDialogCellEditor.java
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/build/VdbBuilder.java
TEIIDDES-2120: Fixes for Vdb and VdbEditor

* VdbEditor
 * Fixes when user files are added to a vdb. Formerly, the absolute path of the
   file was supplied to the VdbEntry even if it was in the project. Consequently,
   these files would never synchronize as they were not model resources and their
   paths could not be found in the workspace.

* VdbEntry
 * Makes the findFileInWorkspace method work a little harder to try and locate a
   resource for the given filename by navigating the files container in the vdb's
   project. This improves the chances that such files can be synchronized.

* Vdb
 * Stops udf jar files appearing in both the UDF and Other Files panels in the
   VdbEditor. Only user files should appear in the userFileEntries set.

Conflicts:
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/VdbEditor.java
	plugins/org.teiid.designer.vdb/src/org/teiid/designer/vdb/VdbEntry.java
Merge pull request #350 from johnathonlee/TEIIDDES-2120

TEIIDDES-2120
TEIIDDES-2155: Added check for RETURN direction type when generating a ws for a source stored procedure.
Merge pull request #351 from johnathonlee/TEIIDDES-2155

TEIIDDES-2155
removal of extra org.teiid.designer.modelgenerator.ldap.ui introduced by TEIIDDES-2044
Merge pull request #352 from johnathonlee/TEIIDDES-2044-cleanup

removal of extra org.teiid.designer.modelgenerator.ldap.ui introduced by...
TEIIDDES-2156: Ensures eclipse builder is not stopped by runtime exceptions

* Executing an unreliable operation in OperationUtil can throw an exception
  Previously this was a runtime exception which stops the eclipse builder
  dead in its tracks.

* Fixes this issue by throwing a normal exception and ensuring that all
  clients properly handle the exception by exposing it to the user in some
  form of dialog.

* ErrorHandler
 * Catch-all for taking an exception and displaying it in the eclipse
   built-in error dialog.

* Where methods and functions are low-level, the exception is simply thrown

* Only when the class appears at the UI layer is the exception handled and
  displayed.

* VdbEditor
 * Since this is a UI editor, a correctly initialised Vdb is vital. Since
   the latter depends on OperationUtil, display an informative error panel
   if the editor's Vdb instance cannot be created.



* Test
 * GenerateRestWarDialog
 * Rename of vdb, model resource
 * DDLImporter
 * Deploy Vdb action
 * Execute Vdb action from runtime/ui/actions
 * Execute Vdb action from runtime/ui/vdb
 * GenerateRestWarAction
 * TeiidServerEditor initialising editor
 * VdbExtractModelsSyncVdbMarkerResolution
 * VdbModelPathResolution
 * VdbEditor
  ** save
  ** add model
  ** update UDF jars
  ** add udf jar

Conflicts:
	plugins/org.teiid.designer.dqp.ui/src/org/teiid/designer/runtime/ui/actions/GenerateRestWarAction.java
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/Messages.java
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/VdbEditor.java
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/messages.properties

Conflicts:
	plugins/org.teiid.designer.vdb.ui/src/org/teiid/designer/vdb/ui/editor/VdbEditor.java