Adding Date range filtering to the plugin

Hey!

I've added in an option and extended the sidebar widget to support date range filtering. Would be awesome if this can go back into the core plugin (I've tried to code it in as general a way as possible) as I think it might be useful for others, and also to avoid maintaining a separate branch.

Thanks!

Felix