Correct graph period ranges / Add Date Range to Graphs

Replace the current date on graphs with graph begin and end date range.
Current time is not useful in some views.  Particularly Previous Period views.

Correct graph period ranges (start & end) in get_dates function.