[BZ 873471] Token replacement takes into account <property> properties

The ant users are used to defining properties using the standard ant
<property> task. We now recognize such properties when replacing
tokens in the bundle files.

To support <property file="..." /> format, the file in question has
to be defined as a bundle file using rhq:file or rhq:url-file. This
would make it deployed though, which might not be what the bundle
author wants, so a new attribute "deploy" has been added to all the
rhq:file, rhq:archive, rhq:url-file and rhq:url-archive, defaulting
to true, meaning whether to deploy the file/archive or not.

Also, the standard Ant <property> task can now appear inside
rhq:bundle alongside the rhq:input-property.

An example deploy.xml might look like this:

<?xml version="1.0"?>
<project name="property-demo" default="main"
         xmlns:rhq="antlib:org.rhq.bundle">

    <rhq:bundle name="Property loading demo" version="1.0">
      <rhq:input-property name="user.provided"/>
      <property name="bundle.defined" value="xxx"/>
      <property file="in-bundle.properties"/>

      <rhq:deployment-unit name="sample-deployment-unit"
                           compliance="full">
        <rhq:file name="in-bundle.properties" deploy="false"/>
        <rhq:file name="deployed.file" replace="true" />
      </rhq:deployment-unit>
    </rhq:bundle>
    <target name="main"/>
</project>

The deployed.file mentioned above could contain the
@@bundle.defined@@ token which would be replaced with "xxx". It could
also contain tokens with names of any properties defined in the
"in-bundle.properties" file that is supposed to be placed in the
bundle file alongside the deploy.xml.
[BZ 873471] Added a testcase for loading properties from absolute path
[BZ 873471] Added a testcase for loading properties from URL

+ a bit of test refactoring.
[BZ 873471] Support loading props from destination-relative paths.

This is done through a custom rhq:property task that extends Ant's
default property task and adds the new "relativeToDeployDir" boolean
attribute.

The properties (both "property" and "rhq:property") are handled in the
bundle task alongside the "rhq:input-property".
[BZ 873471] Clean up - javadocs, unused methods, obsolete properties
[BZ 1113739] - JON UI showing the same listgrid with load data for all Storage Nodes - the datasource was accidentally overriding id attribute, also there was need to call the redraw method on the StorageNodeLoadComponent component
Merge pull request #67 from metlos/bug/873471

[BZ 873471] Token replacement takes into account <property> properties
Initial thought for the bundle handover plugin component facet

Add failureType to BundleHandoverReport

Define bundle content handover actions and params in StandaloneASComponent

Remove BundleHandoverPhase

Update BundleHandoverFacet Javadoc

Add contentName param to BundleHandoverFacet

StandaloneASComponent#handleContent skeleton

Add BundleManagerProvider#handoverContent to let bundle plugins handover content to bundle target resource components

Add more comments to failure type

Some code cleanup on the road

Changing ANT tasks step 1

rhq:handover child of rhq:file / rhq:url-file / rhq:archive / rhq:url-archive

Changing ANT tasks step 2

Throw exception when HandoverTarget fails

Changing ANT tasks step 3

Not important: remove last warning

Ant bundle handler and handover integration

Defensive close of the handed over content stream

Missed MockBundleManagerProvider

Check for null report in BundleManager. Don't let a NPE bubble up

Ant Project should report the handover files in getBundleFiles() and getDownloadedFiles() method

Code cleanup

Add #toString to BandleHandoverContext

Implement failonerror attribute for rhq-handover tags

API changes (renamed a few objects and created BundleHandoverRequest)

Refactor Cli execution code

Implemented StandaloneASComponent script handover

Fix Cli execution bugs

Provide more information audit messages

Improve CLI execution error handling

Implement "deployment" handover action for Standalone Servers

Added new trait for server temporary directory
Add new bundle destination base dir for standalone server (temp-dir)
HostControllers are now bundle targets (with temp-dir as destination base dir)
Handover execute-script works on HC servers

Host controller "deployment" handover action, step 1

Report failures at FAILURE level...

Host controller "deployment" handover action, step 2

Fix rebase issues
Add missing Javadoc