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.

(cherry picked from commit b4b0238a2351928e4613e98309192ea3fe3a4eb3)
Signed-off-by: Jirka Kremser <jkremser@redhat.com>
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.

(cherry picked from commit c6fdf436a3bbaf2d1c3ea6984b98fb359a98796b)
Signed-off-by: Jirka Kremser <jkremser@redhat.com>
Bug 1029409 - Auto-enable ejb3 statistics when a user requests calltime
metrics for EJBs

Fix NPE when enable-statistics is undefined

(cherry picked from commit 87f7ea8fcf4b5d90afad2f6feb1202bc2bb13eab)
Signed-off-by: Jirka Kremser <jkremser@redhat.com>