[BZ 1042828] - CallTimeDataManager manager should be able to expose raw
data, not just the aggregates

Raw data are now exposed via findCallTimeDataRawForResource. We don't return
RAW data (meaning per-request entities), because RHQ server does not store
it. Instead it stores already aggregated data - aggregation per
callDestination happens on agent when sending metric report. At maximum (as
minimum collection interval is 1m) user can get aggregated data for requests
within 1 minute per callDestination). This data are considered as RAW
because it's rawest we have.
Bug 1034218 - EAR subdeployments are not discovered for DomainDeployment

Added missing line: a subdeployent can be a child of a ManagedServer deployment
[JON3-16] Add PatternFly Assets for Look/feel UXD changes.

See: https://github.com/patternfly/patternfly for more details.
AS7 i-test work (Yee, more...)
- Add some logging to explicitly show when resources are persisted in the fake inventory
- Managed to cut runtime down by about a 1/3 by optimizing waits on
  only the resources needed to perform certain tests and by getting
  rid of some unnecessary discoveries. This included:
  - removing the built-in depth discovery mechanism in AbstractAgentPluginTest
  - removing the built in waits in @AfterDiscovery method in AbstractAgentPluginTest
    - remove the @AfterDiscovery method, it executes after discovery,
      but not necessarily before execution of the annotated method.
    - replace with a more flexible superclass method for validating discovery
- Move the EAP unzip location from tmpdir to the target dir to isolate it
  from concurrent executions of the AS7 itests.
- Give every i-test class an explicit surefire execution to remove
  inter-class test method executions.  Order the class executions to
  avoid issues (since they still all affect the same EAP install).
- Remove certain uses of @DeploymentResources, whose set times seemed unpredictable.

I have a couple to TODOs in there now which I will try to resolve as time permits.
BZ 1070341 - Preserve custom scripts in bin directory during agent auto update

This copies any other *.sh and *.bat scripts found in the old agent bin directory.

Note that because ANT doesn't support retaining file permissions with <copy> we have to invoke <chmod>
separately to set the *.sh files with "+x" permissions.
Update repository URLs to point to Github.
[858813] make sure the previous fix is applied to all applicab;e component classes
Uses a wrapper to catch the return value instead of the ExecuteException
Remove commented lines
[BZ 1026473] When upgrading bundle with compliance=full deployment folder

As we now handle directories in bundle, directory name 'test' wouldn't match
pattern 'test/.*' (which is 'rhq:ignore test/**'). Fixed by adding trailing
slash when evaluating match.
ConcurrentModificationException found in RuntimeDiscoveryExecutor
Show IPCE messages in the resource errors popup

Since commit e460fc84, IPCE messages were no longer displayed, leaving the user with a generic resource error message
as7 itests: re-enable and fix ManagedServerTest
as7 itests: wait for inventory to stabilize before testing update resource config methods

If you call loadUpdateResourceConfiguration too early, there will be very few resources commited in inventory.
Add dynagroup expression template for RHQ Agents
AS7 I-test work, add back nonpc tests
also:
 - add back disabled test in GenericJBossAS7PluginTest after ensuring
   all discovered components gets a chance to start.
 - alter execution order to run GenericJBossAS7PluginTest first because
   prior test executions seemed to mess up an expected trait metric
 - pull up code in AbstractAgentPluginTest to GenericJBossAS7PluginTest,
   it's only caller.
AS7 i-test work, fix build issue
AS7 i-test, restore ManagedServerTest to executed test classes, it was lost in a merge.
as7plugin: let MemoryPoolComponent start even if the underlying server is down

This is to avoid ugly exception logs like:

2014-03-05 09:55:17,436 ERROR [main] (rhq.core.pc.inventory.InventoryManager)- Exception thrown while activating [Resource[id=10397, uuid=353b527e-e9d3-4486-a04d-dbd5e2f735db, type={JBossAS7}Memory Pool Resource, key=core-service=platform-mbean,type=memory-pool,name=PS_Old_Gen, name=PS_Old_Gen, parent=memory-pool]].
org.rhq.core.clientapi.agent.PluginContainerException: Failed to start component for Resource[id=10397, uuid=353b527e-e9d3-4486-a04d-dbd5e2f735db, type={JBossAS7}Memory Pool Resource, key=core-service=platform-mbean,type=memory-pool,name=PS_Old_Gen, name=PS_Old_Gen, parent=memory-pool] - Failed to read attribute [usage-threshold-supported] of address [core-service=platform-mbean,type=memory-pool,name=PS_Old_Gen] - response: Result{outcome='failure', failureDescription=The server closed the connection before sending the response, rolled-back=false, rolledBack=false}
	at org.rhq.core.pc.inventory.InventoryManager.activateResource(InventoryManager.java:2070)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:3590)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:3592)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:3592)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:3592)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResourceRecursively(InventoryManager.java:3592)
	at org.rhq.core.pc.inventory.InventoryManager.activateAndUpgradeResources(InventoryManager.java:3566)
	at org.rhq.core.pc.inventory.InventoryManager.initialize(InventoryManager.java:287)
	at org.rhq.core.pc.PluginContainer.initialize(PluginContainer.java:290)
	at org.rhq.enterprise.agent.AgentMain.startPluginContainer(AgentMain.java:1943)
	at org.rhq.enterprise.agent.AgentMain.start(AgentMain.java:697)
	at org.rhq.enterprise.agent.AgentMain.main(AgentMain.java:438)
Merged PR #1