add several functions for broker-dynamic-attribution

including:MakeArray,IsinTimeWindow,CountN,CountPopularity,AddBroker,DelBroker
and Tranverse.
To be solved:there must be something wrong with the two
count-function,otherwise the callback for AddBroker and DelBroker won't
be wrong.
To be continued:SendPackt and measurement.
begin transverse()