Add new AUTO_PDATE function
Add AUTO_REPLICATE_EVENTS function for DOME
Hot fix error: update the date handling method to catch all types of exception
Merge pull request #17 from MengZhang/develop

Develop pull request from meng