[1073691] Table deadlock issue when processing content report due to missing index and very large transactions in ContentServerServiceImpl.mergeDiscoveredPackages
This is yet another legacy code spot subject to scalability and locking
issues. I've made a pass at making it more scalable and less likely to lock:
- No longer process an entire report under an umbrella Tx. Break up the
  work into more, smaller, Txs
- Reduce # of DB round trips
- Remove several calls to unindexed queries
  - Note, no new indexes have been added at this point. We are still likely
    doing one full-table scan of rhq_installed_package when getting the
    InstalledPackages for a Resource.  We may want to add an index on that FK.
  - Altered queries to use indexes
  - Removed unused queries from InstalledPackage and PackageVersion
- Added some inline doco to help future genrations
- Removed duplicated remote method decls from ContentManagerLocal
- Fixed an issue in ContentManagerBeanTest and re-enabled a bunch of tests
[BZ 1142984] Fix parsing of output from help --commands
Bug 885848 - Changing WAR/EAR deployment from exploded to unexploded (or vice versa) results in resource always being DOWN/Unavailable

Removed connection settings "deploymentName" attribute
Added connection settings "deploymentKey attribute (upgraded from "deploymentName")

We don't need to know if the deployment points to a "vfsfile:/" or "vfszip:/"

Now the profile service "deploymentName" is lazily loaded when the component is started or when it goes down because of NoSuchDeployment

Tested with EAP5.1.2 on WAR and EAR.
-> Deploy new package OK
-> Delete resource OK
-> Restart application OK
[BZ 1136751] If drift definition's interval is set to a lower value than agent's interval, show resource error
Bug 1128141 - HostController gets DOWN when name attribute in host.xml is
empty

I discovered we don't have to read HC/DC's name from host.xml at all, since
this value is provided by API via 'local-host-name' attribute. So I rewrote
BaseServerComponent#findASHostName() to use API which fixes this issue.
ServerControl class was also affected by this change - it required
xmlInputFactory (before used for reading host.xml content) which became
useless and was removed.
Bug 1138784 - [eap6] NPE when loading configuration for datasources
subsystem of managed server
Bug 1032054 - Refresh button on Monitoring/Calltime page does not move 'last 8 hour' time range

Make CalltimeView implement the refresh mechanism instead of CalltimeTableView

The problem was that #refresh was defined both in Table class and AutoResfresh interface.
Bug 1144046 - Uncaught exception when selecting Administration -> Security
menu item

MenuItems directly under Administration now target to leaf views (usually
it's the first child view which does not require special permissions)
[1073691] Table deadlock issue when processing content report...
add a perf-oriented unit test
Bug 1141839 - EAP6 resource stays UP in resource tree after its configuration directory was moved

Now validate configDir (not only baseDir) when resource component is started or avail goes UP
[BZ 1126410] Update data migrator to use the latest storage node schema.
[BZ 1126410] Minor updates based on code review.