[BZ 955816] Ask server for last known metric val if not known otherwise.
[BZ 1136996] Support resource upgrade callback during resource upgrade.
[BZ 1135034][BZ 1135107] Disallow patching on unsupported EAP versions.

This is done on 2 fronts. First, there's a new "supportsPatching"
attribute in the plugin config of standalone and host controller to tell
whether the resource explicitly supports patching or not. This is to
support servers that don't support patching even though the patch
command is available.

As a second "wave", the bundle handler checks for availability of the
patch command before trying to perform a patch operation and returns
a meaningful error message if it fails to find it.
This is to support graceful failure on servers that somehow fail to
report whether they support patching correctly.
[BZ 1136996] Call the update lock of disc. callbacks a better name.
[BZ 1135034] Only fill the upgrade report when needed to reduce traffic.
Merge branch 'bug/1136996+1135034+1135107' of github.com:metlos/rhq into metlos-bug/1136996+1135034+1135107

Conflicts:
	modules/plugins/jboss-as-7/src/main/java/org/rhq/modules/plugins/jbossas7/PatchHandlerComponent.java
[BZ 955816] Don't update the cache with the retrieved value

This could lead to concurrent update exceptions and is not worth
dealing with in some async manner given this is an edge case.
Bug 1134829 - Listing two times each case details under 'Red Hat
Access->Support->My Cases'

updating redhat_access_angular-ui component (to 0.9.15#bc813f7)
[BZ 955816] Added API difference record to client-api.
Bug 1139607 - EAP cli script fails always during bundle deployment to domain server

#executeCliScript should be called with an absolute File reference.

Side work:
* convert script File reference to absolute when the execute-script command is executed
* log results of handed-over script's execution
* some code cleanup
Merge pull request #116 from metlos/bug/955816

[BZ 955816] Ask server for last known trait val if not known otherwise.
BZ 1088032 - use "command" not "type" since "command" is POSIX compliant and is available on Solaris as well as other UNIX flavors. Don't use readlink unless we know it is available, to avoid spitting out those error messages.
Tested on Solaris 10 ("uname -sr" returns "SunOS 5.10") and readlink does not exist, but "command -v" works so this fix should work on Solaris 10.
[Bug 1033665] Add to dashboard does not add multiple charts to default dashboard.
[1136488] (domain mode) application version is 'none' for domain deployments
Add versioned-deployment logig to domain deployments.  This includes
resource upgrade for existing resources.  Also, tweak the operations to
use the correct path value as opposed to the version-stripped resource key.
[BZ 1114202] handle failures in aggregating 1 hr and 6 hr data

Previously there were basically two phases to data aggregation. First, we would
aggregate raw data from any past time slices, and if necessary recompute 6 hr
and 24 hr data. Then we would compute the 1 hr data (and 6 hr and 24 hr data if
necessary) for the current time slice. If there were errors computing either
6 hr or 24 hr data for the current time slice, we would not recompute it unless
we wound up recomputing 1 hr data that fell in those time slices.

These changes ensure that we will recompute 6 hr and 24 hr data. They also
simplify the implementation as PastDataAggregator is being deleted. It is
no longer necessary. Now we first scan the raw index starting at some point in
the past. Right now it is hard coded to 48 hrs prior to the current hour, but
I will make it configurable. We compute 1 hr data for any schedule ids we find
in the index for time slices up to the current time slice. We then repeat this
for 1 hr and 6 hr data.
[BZ 1114202] use separate thread pools, more clean up

AggregationManager's life cycle now coincides with MetricsServer. It also now
has its own dedicated thread pool as does MetricsServer.
[BZ 1114202] fix some logging
[BZ 1114202] fix compilatio error