Select date issue 11

This patch includes the following:
 - Date picker remains open between page reloads.
 - 'to' query string/cookie renamed to 'until'
 - refactored the from/until query string/cookie code on the flask side (cosmetic)