Fixing replication issue with Formula Node

- Compile the formula node to a temp DS Function, which internally call
Formula.Evaluate for actual evaluation.
- Setup a function call for this temp DS function.
Merge pull request #1594 from sharadkjaiswal/Migration

Fixing replication issue with Formula Node