Fix up reduction-keys and add clear-keys for VMware.vminfo.events.xml
Fix for Bug NMS-6545

ResourceDao.findTopLevelResources() is returning duplicated data because
of storeByForeignSource.

Tested on the following scenarios:

1) All nodes are provisioned and storeByForeignSource is disabled (i.e.
all the RRD directories are like this: rrd/snmp/{nodeId}.
2) All nodes are provisioned and storeByForeignSource is enabled (i.e.
all the RRD directories are like this: rrd/snmp/fs/{fs}/{fid}
3) Hybrid environment, there are requisitioned nodes and discovered
nodes on the same installation with storeByForeignSource enabled. In
this case, the discovered nodes will have rrd/snmp/{nodeId} for the
RRDs, while the provisioned nodes will have rrd/snmp/fs

IMPORTANT: If storeByForeignSource is enabled and the RRDs are stored
under a directory like rrd/snmp/{nodeId}, those RRDs are going to be
ignored (because they must be stored under rrd/snmp/fs/{fs}/{fid})
Merge remote-tracking branch 'origin/1.12'

Conflicts:
	opennms-dao/src/main/java/org/opennms/netmgt/dao/ResourceDao.java
	opennms-dao/src/main/java/org/opennms/netmgt/dao/support/DefaultResourceDao.java
	opennms-model/src/main/java/org/opennms/netmgt/model/OnmsResource.java
	opennms-services/src/test/java/org/opennms/netmgt/statsd/ReportDefinitionTest.java
	opennms-webapp/src/main/java/org/opennms/web/svclayer/support/DefaultResourceService.java
	opennms-webapp/src/main/webapp/WEB-INF/jsp/KSC/index.jsp
Fixing compiling issues after merging the ResourceDao changes from 1.12