prevent crashes when input is missing some fields. fix date filtering on query route. changes all date parameters to the format YYYY-MM-DD
update README with new date format (YYYY-MM-DD)
Merge pull request #3 from aaronpk/master

Change date format and small fixes