Add SUM and MEDIAN calculations from QDM v4.1.1

### Story ###
- https://www.pivotaltracker.com/story/show/83228532

### Notes ###
- added support for ```SUM``` and ```MEDIAN``` used with ```cumulativeMedicationDuration```
can we not modify the PQs?