Add plans on date method

@nickpell 

http://manage.dimagi.com/default.asp?147412#820468
Passing the same timestamp to domains_matching_plan only gave results if the startdate or enddate were equal to the timestamp