Bug 1146583 - "Ignore" button is disabled always under "Discovery Queue"

Previous logic of enabling/disabling "Ignore" button tried to prevent
situation, that user could ignore a NEW platform and/or it's child. Previous
logic would not work in case user also selected at least another resource
that "could" be ignored (a child of imported platform).

Now user can ignore MEW platform as well or it's child. If platform is
IGNORED it's not possible (at least from UI) to import it's NEW children.
Bug 1122444 - Server responds with 204 even if it fails to find the schedule
upon POST /metric/data/raw request

As POST /metric/data/raw accepts data points for various schedule IDs
rejecting all data, just because several have invalid scheduleId may not be
a good idea. Current fix does:
 * return 204 (No content) in case all scheduleIds are valid and all data
were accepted
 * returns 201 (rejected data) in case some data points were rejected and
some accepted
 * returns 403 (rejected data) in case all data points were rejected

This commit also fixes endpoint POST /metric/data/raw/{resourceId} which now
returns 403 in case there is at least 1 non-existing metric for given
resource ID (this case was previously failing on NPE)
Bug 1122444 - Server responds with 204 even if it fails to find the schedule

Get ISPN cache to work correctly for REST:

REST api was using incorrect cache name - so used cache was not
preconfigured at all, thatswhy cache entries never expired. Now, we'll
deploy rhqRestCache which is preconfigured with lifespan=15m and
max-idle=5min. This means, cache entry will be dropped and refreshed every
15minutes no matter how often is accessed and also if not accessed for
longer than 5minutes.
Merge pull request #104 from lzoubek/bugs/1122444

Bug 1122444 - Server responds with 204 even if it fails to find the sche...
[BZ 1070262] Few more changes to the agent config update to allow the agent to continue with the startup procedure even if there is an error in the obfuscation attempt.
attempting to fix upgrade test failure

The test sets up dummy measurement defs and schedules. On the oracle upgrade
jenkins job it failed with,

ORA-00001: unique constraint (RHQADMIN_DBUPGRADE.RHQ_METRIC_DEF_KEY_IDX) violated

I have updated the test so that each measurement def has a unique name.
Bug 1005426 - Better CLI Parsing and Error reporting

* Unified behavior for CLI script args and "login" command args
* Fixed "login" command:
** support host definition without port definition
** output defaults for host and port
** command syntax message
** show meaningful error messages:
*** for port number format
*** for unsupported transport
*** for exceptions (use exception cause message instead of meaningless JBoss Remoting exception message)

Also, some code cleanup
[1033404] Updating Blocking Bounded Queue and Bounded Queue Thread Pools fails without core-threads value
This is a partial fix for the reported issue, and contains two associated
fixes  for issues hit while working the issue.
- First, The plugin descriptor needs to specify required="false" for the
  optional simples in a map of simples, otherwise they will be set to
  required="true" by default (I don't know if this is true for all props, it
  may be, but it was definitely true for the keepalive-time map-of-simples for
  AS7 ThreadPools).  Otherwise values will be expected.  Fix this because this
  prevents the create child from working unless you sepcify keepalive-time.
- Second, a map-of-Simples in a resource configuration always generates
  a Map in the Configuration, even if the Map is "empty" because the Simples
  are all "unset" (set to null values).  This was not being handled well in
  the create resource code, where an unset map should be ignored as if the
  entire PropertyMap is "unset".  Note that an empty MapProperty in a
  configuration update should be processed, because we may be trying to unset
  one or more of Simples that currently have a value.
- Third, to work around the fact that AS can't currently handle an undefine
  (i.e update to null) of core-threads (and possibly other attributes), add
  an optimization such that we don't try to update undefined (null)
  attributes to be undefined, since they are undefined already.
- There was another issue in that the plugin code was actually modifying
  the ConfigurationDefinition held in the ResourceContext (which is a
  weakness in our design that we even let that happen).  Changed to use a
  copy of the ConfigurationDefinition (and added a copy() method in the
  Entity, migrating it from plugin code where it was previously defined).

So, the partial fix is that we can now create with empty maps and we can
update without setting core-threads to a value, leaving it unset.  But once
set core-threads can *not* be unset until the AS bug is fixed and the
fixed version is a version being managed.
eclipse classpath updates
[BZ 1128779] Add vertical scrollbar to the listGrid if it does not fit the window
Bug 1029409 - Auto-enable ejb3 statistics when a user requests calltime
metrics for EJBs

Whenever callTime metric is requested, ensure that global EJB3 statistics
are enabled on server.
[822173, 1146846] Broken layout on JBossAS7 resource configuration page
Work done for Bug 1144459 was unknowingly trying to fix the problem
reported in Bug 822173.  It succeeded in fixing the column header issue
but caused the regression reported in Bug 1146846.  This (finally) seems
to have fixed the problems for all three BZs, working around the Smartgwt
bug at the root of all of the problems.