Bug 1116931 - cannot monitor RHQ Server services due to classloader issue

Use isolated classloader
Patternfly Theme (SmartGWT skin): Colors for buttons that were not part of Table component -> moving the ButtonColor enum from Table to EnhancedIButton -> auto-organizing imports; fixing BZ 1116799; buttons that contained menu don't bounce on FF (on hover)
Patternfly: Applying the css style only on elements explicitly marked with an attributes eventproxy='menuButtonFooBar' and only in FF. Accidentally, I pushed an old version in my previous commit 2eb88800a. This change is related to 'buttons that contained menu don't bounce on FF (on hover)'
Format and prettyprint the new smartgwt patternfly theme stylesheet for readability/consistency now that it is stabilizing. Formatted using WebStorm defaults.
[BZ 1110462] squash commit

[BZ 1110462] do not compute aggregate metrics when there is no data

[BZ 1110462] Initial commit for InvalidMetricsManager

[BZ 1110462] Refactoring to fix invalid metrics queue

DelayQueue cannot be used with ThreadPoolExecutor. I learned that
ScheduleThreadPoolExecutor basically uses a delay queue, but it stores
RunnableScheduledFuture objects whereas I want to store InvalidMetric objects
in order to use its definition of equals() and hashCode(). I considered
extending ScheduledThreadPoolExecutor and using the hooks it provides to
decorate the tasks added to the queue. It was going to involve too much time,
effort, and testing; so, I instead decided to use a DelayQeueue independent of
the Executor's queue.

[BZ 1110462] add logging

 [BZ 1110462] adding, updating unit tests

[BZ 1110462] update MetricsServer to submit invalid metrics to InvalidMetricsManager

[BZ 1110462] adding javadoc and fixing call to DateTime ctor

Conflicts:
	modules/enterprise/server/server-metrics/src/main/java/org/rhq/server/metrics/MetricsDAO.java
	modules/enterprise/server/server-metrics/src/main/java/org/rhq/server/metrics/MetricsServer.java
	modules/enterprise/server/server-metrics/src/test/java/org/rhq/server/metrics/MetricsServerTest.java
Bug 1029996 - Resource paging does not correctly respect defaults

Default page index set to 0
AS7 itests: fix a mistake introduced while extracting constants and ASConnectionFactory
Patternfly: making <hr>s gray (they were black - regression); bz1116774 - adding bottom border to config editor; context menus now have transparent bottom shadow
Work on ITest-2 Failures:
- I think the recent work for 1071330 which added caching and last-update
  logic around SystemSettings adversely affected the LDAP tests which
  where doing direct update of read-only system settings.  Adding a
  new inetrnal-only local SLSB for safely updating a read-only SystemSetting
  and refactoring test class to use it.
- Removed now-obsolete NamedQuery that supported the old test-class logic.
Bug 1116790 - Patternfly theme: buttons with "Untitled" text

"Add" button has now icon only and is a quite closer
fixed missing semicolon in styles (resulted in huge buttons ie in inventory)
Patternfly: new icon for open and closed folder (in reaction on Catherine comments)
Work on ITest-2 Failures:
- More work around 1071330 which added caching and last-update
  logic around SystemSettings.  Adding an internal-only local SLSB
  method which allows write of readOnly system settings.  This is
  analogous to the one I added a few minutes ago for a single setting.
- Convert SynchronizationManagerbeanTest to use SystemSettings as opposed
  to the deprecated systemConfig API, and use the internal SLSB methods
  as needed.
Bug 534860 - (RHQ-1615) View results for Postgres invoke sql operation doesn't show results properly

Introduced a new "outputFormat" paramater for the "invokeSql" operation. Values may be "formattedText" or "html". Defaults to html (which was the only supported format before).

Formatted text prints tables like this (select id, uuid from rhq_resource limit 3) :

++++++++++++++++++++++++++++++++++++++++++++++++++++
+ id (int4) +            uuid (bpchar)             +
++++++++++++++++++++++++++++++++++++++++++++++++++++
+     10018 + eba7a118-4b46-4166-b391-7977b28e5f25 +
+     10722 + 94068e4c-1929-490c-ac8e-9d51a1a9f29c +
+     10002 + d2dbdbcb-d070-4682-b05a-2383f5d3395a +
++++++++++++++++++++++++++++++++++++++++++++++++++++
Work on ITest-2 Failures:
 - More work around 1071330, use new local SLSBs as needed in test code
Fix Resource and Group Metrics Portlets metric name getting clipped on second line due to patternfly changes.
Patterfly: improving folder icons
Increase the height of the bundle creation dialog for patternfly theme.
development RHQ_4.13.0-SNAPSHOT
[BZ 1079368] updateConfiguration follows the same convention as createResource