make daterange check inclusive
move get_timestep into separate function
add function for computing intervals
add stock transactions indicator
simplify stock transaction counting
Merge pull request #4385 from dimagi/stock-transactions-indicator

Stock transactions indicator