Changes to Inspect-Graph and custom time selection

More refactoring on the inspect-graph code, added filtering to the legend selection list.
Removed the "Now" button from the date-time picker used to specify custom time ranges. The "Now" button is based on the browser timezone whereas the value being entered is based on the server timezone.