Fix test failure due to API change.

Cherry-pick of master 8a22587813c5434d48caa99368a70aeb52934a47
[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)

Cherry-pick of master: 880124918391f97ac7f2c2362310de79f36a5365
[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).

Cherry-pick master eb5114f2dcc2ce690c925daef2ceab0e21bb7a45
[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.

Cherry-pick master c0e7effaca68ffb8afc8690d340f3738ce6b5f8e