MODE-2284 Changed the importer logic to handle replacing nodes that are referenced by nodes not affected by the import.
Corrected Java compiler warnings
MODE-2285 Corrected the index and index provider beahvior of the ModeShape subsystem for Wildfly

Several issues were fixed and tested.
Merge pull request #1225 from rhauch/mode-2284

MODE-2284 Changed the importer logic to handle replacing nodes that are referenced by nodes outside of the import scope
Merge pull request #1228 from rhauch/mode-2285

MODE-2285 Corrected the index and index provider beahvior of the ModeShape subsystem for Wildfly
MODE-2289 Moved the modeshape.common.util package from modeshape-jcr to modeshape-common. This was causing OSGI conflicts with the package with the same name from -common.
MODE-2290 Corrected use of indexes for criteria with aliases and bind variables

Corrected the way that indexes are planned for criteria that involve aliases and bind variables. Also added several new tests to verify the expected behavior.
Merge pull request #1233 from rhauch/mode-2290

MODE-2290 Corrected use of indexes for criteria with aliases and bind variables
Merge pull request #1232 from hchiorean/MODE-2289

MODE-2289 Moved the modeshape.common.util package from modeshape-jcr to modeshape-common.
MODE-2151 Added support for CHILDCOUNT dynamic operand

Pretty basic support that should prove quite useful in certain situations. This may be relatively
expensive when the repository has nodes with lots of children since it requires loading the parent
node's child references in order to obtain the count. The CHILDCOUNT criteria would therefore work
much better/faster as filtering criteria in a query that already defines criteria that indexes can
use.
Merge pull request #1230 from rhauch/mode-2151

MODE-2151 Added support for CHILDCOUNT dynamic operand and the 'mode:childCount' pseudocolumn
MODE-2292 Indexes and definitions are now properly persisted and work across repository restarts.
Merge pull request #1234 from rhauch/mode-2292

MODE-2292 Indexes and definitions are now properly persisted and work across restarts
MODE-2293 Removed MapDB as a separate module and changed it to be a local resource of the modeshape.main module.
MODE-2293 Added a missing journaling integration test for WF and also a delay for the LocalIndexProvider tests without which tests were failing locally for me (most likely due to the async nature of the index processing)
MODE-2245 The web-explorer webapp did not contain a correct web.xml for the WF kit. Also added a smoke test to make sure the webapp is correctly deployed in WF.
Merge pull request #1235 from hchiorean/MODE-2293

MODE-2293 Removed MapDB as a standalone module and converted it to a local resource
MODE-2285 Corrected how the index providers are written out prior to shutting down
MODE-2285 More correctios to the index provider behavior in the Wildfly subsystem.

After these changes, any index provider or index definitions in the subsystem XML remain there and unmodified even after shutdown.
The problem was the 'relative-to' and 'path' index provider properties were not in the list of model attributes, and thus ignored
(in some scenarios only).

Also fixed a potential NPE in the IndexProvider base class.
Merge pull request #1231 from rhauch/mode-2285

MODE-2285 Corrected how the index providers are written out prior to shutting down