MODE-2388: Enhance DDL Sequencer to account for array data types

* To support Teiid BNF, allow parsing of array data types, eg. integer[],
  and store the number of dimensions in the arrayDimensions property.
MODE-2394: Updates to the Vdb Sequencer in line with Teiid Schema

* Updates the Vdb sequencer's cnd model and lexicon to reflect the schema
  included in the latest version of teiid.
MODE-2392 Fixed the continuous re-indexing behavior at each startup.
MODE-2393 Fixed the removing of existing data when reindexing certain types of nodes.
Merge pull request #1349 from hchiorean/MODE-2392

MODE-2392, MODE-2393 Fixed some reindexing related issues
Merge pull request #1344 from Teiid-Designer/MODE-2388

MODE-2388: Enhance DDL Sequencer to account for array data types
Merge pull request #1347 from Teiid-Designer/MODE-2394

MODE-2394: Updates to the Vdb Sequencer in line with Teiid Schema
MODE-2393 Fixed invalid unit test.
Merge pull request #1351 from hchiorean/MODE-2393

MODE-2393 Fixed invalid unit test.
Fix for MODE-2382 Indexmanager checks existence of nodeType
MODE-2394: Due to teiid vdb schema changes, update the sequencer accordingly

* Updates the Vdb Sequencer to reflect the changes made to the Teiid Vdb
  cnd schema. In light of the changes made to the latter to reflect Teiid's
  own latest Vdb schema, the sequencer will now observe the following:
  ** vdb connection type
  ** vdb name
  ** multiple model sources
  ** data role grant-all flag
  ** data role permission conditions and masks
  ** data role allow language permission

* Updates sequencer tests to test for the new changes
MODE-2344: Process login/logout procedure
Merge pull request #1352 from Xnyle/MODE-2382-2

Fix for MODE-2382 Indexmanager checks existence of nodeType
MODE-2396: Fixes Teiid DDL sequencer logic for creating views

* Collapses 'CREATE VIEW' and 'CREATE VIRTUAL VIEW' together to do the
  same thing ensuring that the token VIRTUAL is totally optional.

* See MODE-2396 for details of Teiid BNF and parser.
Merge pull request #1350 from Teiid-Designer/MODE-2396

MODE-2396: Fixes Teiid DDL sequencer logic for creating views
Merge pull request #1353 from Teiid-Designer/MODE-2394

MODE-2394: Due to teiid vdb schema changes, update the sequencer accordi...
Merge pull request #1316 from okulikov/MODE-2344

MODE-2344: Process login/logout procedure
MODE-2395 Once a user transaction completes, ModeShape should replace the transactional ws cache with the shared ws cache each time, not just the first time.
Merge pull request #1354 from hchiorean/MODE-2395

MODE-2395 Once a user transaction completes, ModeShape should replace the transactional ws cache with the shared ws cache each time, not just the first time.