Split macro for Gerrit Trigger for patch submitted and merged

Also fix the daily job to use a more generic Git SCM configuration.

Change-Id: I48f1d330fb9dd9b2e48dfd61924904c8f0559abf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>