Product/recrusive threshold gating plus tests

Also added feature to allow FlowData to take a raw pandas data structure
and fill out the cooresponding required metadata
Changed name from Thresholds to Threshold
Added getitem functionality