added support for intervals day|week|2-weeks|month, improved query loading, added new helper functions to sanitize the interval, added new helper functions for daily intervals with 24 hours #86