Implementing a smart version of the rescanExisting flag

Now, the old behavior has been resurrected, and a new one has been
added:

rescanExisting=false, means only add/remove nodes from the DB skipping
the scan phase.

rescanExisting=true (default), perform all the DB updates and execute
the scan phase.

rescanExisting=dbonly, perform all the DB updates skipping the scan
phase.
Merge pull request #129 from OpenNMS/jira/NMS-6860-1.12

jira/NMS-6860 for OpenNMS 1.12.
Add a delay for calling System.exit(1) otherwise a Connection Reset error occurs
Merge branch 'jira/NMS-6857' into rc/stable/1.14.0
Improving logging for rescanExisting and fixing JUnit tests.
[bamboo] Automated branch merge (from 1.12:b039bce4397a7270a7d7b74281f675517363366f)
Merge remote-tracking branch 'origin/jira/NMS-6759-1.14' into 1.14.0
Adding support for rescanExisting to provision.pl
Fix for Jira Issue NMS-6959

test failure: org.opennms.netmgt.collectd.DuplicatePrimaryAddressTest

In order to test if Collectd is able to handle data collection after
adding a new node with a duplicate primary IP, the test checks if the
new node is scheduled for data collection, and the collections happen at
least 5 times during the 6 seconds time window. On a slow machine, it
could be possible that the amount of expected collections is different,
so I've increased the time window to be 10 seconds, expecting that at
least 5 collections have been completed for the new node.
we currently only build with 1.7
Surround the $MVN variable with single quotes in case the path has something crazy like spaces in it.
[bamboo] Automated branch merge (from 1.12:1b4c9b8ebb39bfb84aec489fffbe6118aadcc911)
fix overly-aggressive removal of commented stuff from this configuration
fix inconsistent line-edings in .xsd files
make sure microblog-auth works for twitter by default
add some extra instruction to the microblog client configurator
make sure vtd-xml is *not* in the default base assembly, it comes into full-assembly instead
switch spammy info/warn logs to be debug (OKd by support)
Revert "make sure vtd-xml is *not* in the default base assembly, it comes into full-assembly instead"

This reverts commit 895e74703f01fcfc31f039242a1c387ba00ef206.
Merge branch 'rc/stable/1.14.0' into features/karaf-2.4.0