Add min and max restrictions

Add min and max dates to restrict the dates you can select from
Add min and max restrictions

Min and max dates to restrict the dates you can select from. Add tests.