let dt_start/end_of_day also accept date objects, combine similar methods in start_end_from_mode, be more graceful to missing portal_membership and registry in default_timezone (which couldnt be called without properly setup zope before). add tests for this.