Use grape validation for dates
What does this MR do?
Use grape to validate dates in the commits API. Although this is changing the error message response, I don't consider this as a breaking change (similar to other grape changes).
What are the relevant issue numbers?
Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/20070