Timer updates and minor update to function DispatchMethod.
Add DeferFunctionCall API

This API will defer a function call if a character is in combat otherwise it will call the function immediately.