added a separate function for calculating jitter based on interval's
order of significance; using this function for heartbeat interval
calculation.
Merge pull request #412 from racker/songgao/hb_jitter_as_function_of_hb_interval

calculating heartbeat interval jitter based on interval's order of significance