BZ1032192 - AlertCondition composite queries, query each column

Hibernate would return an empty entity and consequently lead to N+1 selects.

The code is ugly, unfortunately.

Adding tests for these queries
BZ1032192 - AlertCondition intentional API changes

Adding intentional API changes as well
[1061311] rhqctl contains user modifiable values that result in an unsupported rhqctl script
Apply a missing fix to to rhqctl that was already in the .bat.
This reverts commit 8668677a01100d22e6799ce3f73f58b92a1b030c and 82fba05c62d5a5036455fa936cfa045f60b4724c

Re-introducing lazy loading is a bad idea.
Bug 1096332 - All content-related workflows broken on Agent

All *ContextImpl classes now user eagerly loaded plugin container services

The content subsystem was the only one affected as:
* some of the other managers were created and initialized before the inventory manager
* some of the *ContextImpl classes were still lazy loading container services
Merge pull request #65 from genman/BZ1032192

BZ1032192 - AlertCondition composite queries, query each column
[BZ 1070257 + BZ 911432] - Increasing the size of db column RHQ_ALERT_CONDITION_LOG and adding an explicit way to match alert condition on event source

messages from squashed commits:
* [BZ 1070257 + BZ 911432] - UI for alert definitions of type Event Detection and the ability to match on a source location regular expression.
* [BZ 1070257 + BZ 911432] - i18n
* [BZ 1070257 + BZ 911432] - There was a change in public constant in core/domain -> adding it as intentional api change
* [BZ 1070257 + BZ 911432] - rhq_alert_condition_log.value: VARCHAR2(512) -> VARCHAR2(4000); fixing the situation when one or both regular expressions are empty (getValueAsString() returns 'null' as a string if the form field is blank - http://forums.smartclient.com/showthread.php?t=21516)
[BZ 1070257 + BZ 911432] - ensuring the value passed to AlertConditionLog.setValue satisfies the db constraint (for Postgres it is AlertConditionLog.MAX_LOG_LENGTH chars and for Oracle AlertConditionLog.MAX_LOG_LENGTH bytes).
[1070257] (JON3-36) Extend length of Details field of alert notifications
One additional commit to the PR.  Just use DatabaseTypeFactory.getDefaultDatabaseType()
instead of figuring it out manually.