Modifications to date_util.py and form_util.py to use built-in Python functions and methods

Switched to the built-in calendar.isleap() function and removed the custom is_leap_year() function.
Modified the datetime to date string function to use the datetime.strftime() method.
Modified the date string to datetime function to parse the date string with a regular expression.