Merge local develop branch to remote develop branch

Change summary : 
OScheduleHandler : support both plocal and local database, remove hardcoded database name
OScheduler : Add protection for scheduler in case database closed
ODocument : Add API to support convert ODocument to Hashmap
OClassTrigger : Function in defined in OClassTrigger cannot call other function in OFunction class