Add missing requirement (dateutil)
Add switches to show closed/empty milestones

This commit contains the JS to update RepositoryDashboardPartView (known
as "deferrable" on the JS part)