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