BZ-1124767: Setting appropriate defaults for new properties trustStrategy and hostnameVerification introduced in BZ-1062552.

These defaults are used when the property is loaded from the resource's
plug-in configuration. This is necessary to handle situations in where a
resource was already in inventory when the new plug-in is installed.
Bug 1128141 - HostController gets DOWN when name attribute in host.xml is
empty

Fallback to detect host name using on $HOSTNAME and others in case we don't
find it in host.xml
Some unsolicited slsb code cleanup
- remove unnecessary/duplicate class level datasource annotations
- use DatabaseTypeFactory.getDefaultDatabseType() where appropriate
- add missing statement close in ResourceAvailabilityManagerBean
- use util safeClose methods as appropriate
[1127029] Agent [null] would like to connect to this server
The issue here is that 'rhqctl install' does not make provisions for an
existing agent on the machine.  When installing an RHQ Server or Storage
Node it is then expected that RHQ components be managed by the rhqctl
facility.  This is made possible when upgrading from pre-rhqctl versions
by the 'rhqctl upgrade' --from-server-dir and --from-agent-dir options,
which allow an upgrade to "pull in" the existing components on the machine.
The missing use case is this one, when not upgrading but rather installing.
So, this commit adds the --from-agent-dir option to 'rhqctl install'.
Allowing a formerly installed RHQ Agent to be updated (as needed) and
pulled under rhqctl, moving it to the expected location of sibling
directory to the rhq-server installation directory (and not installing
a new agent, which caused the reported issue)
- Also, fix an issue in 'rhqctl upgrade --from-agent-dir' where the new
  agent was not actually moved to the proper sibling directory.  I believe
  this affected RHQ 4.12 (and possibly JON 3.2)
Replacing Header Icons and fix spacing

(cherry picked from commit 1b695d390fa41ce3d4a2ad1506121468a70488e1)
Signed-off-by: Jirka Kremser <jkremser@redhat.com>
[BZ 1127654] - Patternfly theme: various minor UI issues - window header icons, better icon for pencil (edit), fixing mouse cursor for header icons
Merge pull request #108 from loleary/loleary/bug/1124767/master

BZ-1127928: Setting appropriate defaults for new properties trustStrateg...
removing the unused '/rhq' directory that came up from Alan's commit eeaad79aca7f7dc07b96993e9ed2362d26fdd8c0
 [BZ 1124614] a few extra changes still needed.
  - reset serialization id so we don't break serialization with existing agents.
  - update agent Version -> agent Build usages.
  - update i18n doc and key as well for Buld vs. Version
  - fix small npe issue during failure conditions.
 [BZ 1084890] modify CLI and Agent text to reflect update information if available.