Add support for ('setDate', null)

When ('setDate', null) is called it deletes only date part of alternate field but time still remains.
This patch should fix the problem and properly delete whole alternate field in case that null is set as new date.
Fixed wrong commit
Merge pull request #714 from jhron/patch-1

Add support for ('setDate', null)