Added IsLeapYear, GetClosest and GetClosestOcc

New functions and tests added for IsInLeapYear, GetClosest for a
specific day and GetClosestOcc for a specific occurrence of a day in a
month.
Fixing spelling mistakes