Update reportByQueueClosed.php

Heavily reworked to include additional methods of grouping data plots.
Added Currently Open (at end of month) and Opened ticket data plots.
Added configurables to the top of the file for easy repurposing.