Support Time To Live on Event Database

Change-Id: I06f5a7c1e577164f935e847cbe1d98be6d852146
Merge "Support Time To Live on Event Database"