move LOGDURATION to a common .hrl; separate admin functions of tap_ds
into tap_calc.
Merge branch 'master' of https://github.com/FlowForwarding/loom