Add support for date range queries

The previous implementation had "year" queries only, this supports true date range comparisons and add the dependency for moment.js for client side date parsing.